Skip to content

Commit

Permalink
fix: Fix velocity arrows and tick labels in 2D cell plot (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
adigitoleo authored Oct 11, 2023
1 parent ff2a2ca commit 076e091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_vortex_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def test_xz(self, outdir, seed, n_grains):
[-1, -1],
[1, 1],
[20, 20],
scale=1,
cmap="cmc.batlow_r",
tick_formatter=lambda x, pos: str(x),
)
fig_path.colorbar(s, ax=ax_path, aspect=25, label="strain (ε)")
fig_path.savefig(_io.resolve_path(f"{out_basepath}_path.png"))
Expand Down

0 comments on commit 076e091

Please sign in to comment.