Skip to content

Commit

Permalink
Update environment
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Apr 8, 2024
1 parent e5ebfee commit 3be8ff9
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 186 deletions.
6 changes: 6 additions & 0 deletions 02-geoviz.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ ax.aspect = Mke.DataAspect()
Mke.current_figure()
```

Alternatively, it is possible to set the aspect ratio in the `viz/viz!` call directly:

```{julia}
viz(CartesianGrid(20, 10), color = 1:200, axis = (; aspect = Mke.DataAspect()))
```

:::

::: {.callout-note}
Expand Down
Loading

0 comments on commit 3be8ff9

Please sign in to comment.