Skip to content

Commit

Permalink
PR review additions/fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Feb 11, 2024
1 parent 2e7fbab commit bb836c8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
7 changes: 5 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
- Open arcs are no longer modified for anchors, invalid border anchors will panic.
- Grids now actually support border anchors.

## Plot
- Fixed annotation bounds calculation
## Libs
### Plot
- The default style of plots changed
- New style keys for enabling/disabling the shared zero tick for "school-book" style plots
- New style keys for specifying the layer of different plot elements (`grid-layer`, `axis-layer`, `background-layer`)

# 0.2.0
CeTZ 0.2.0 requires Typst 0.10.0
Expand Down
2 changes: 1 addition & 1 deletion src/lib/axes.typ
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@
// - right (axis): Right axis
// - top (axis): Top axis
// - name (string): Object name
// - draw-unset (bool): Draw unset axes
// - draw-unset (bool): Draw axes that are set to `none`
// - ..style (any): Style
#let scientific(size: (1, 1),
left: none,
Expand Down
Binary file modified tests/axes/ref/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests/group/none/ref.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions tests/group/none/test.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#set page(width: auto, height: auto)
#import "/src/lib.typ": *
#import "/tests/helper.typ": *

#test-case({
import draw: *

group({})
})

0 comments on commit bb836c8

Please sign in to comment.