Skip to content

Commit

Permalink
fix(deps): update dependency matplotlib to v3.9.2 (#68)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency matplotlib to v3.9.2

* fix(mpl): fix type mismatch in args for set_xlim/set_ylim

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: backwardspy <backwardspy@pigeon.life>
  • Loading branch information
renovate[bot] and backwardspy authored Sep 4, 2024
1 parent eaa1e45 commit 0d31bdb
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 32 deletions.
4 changes: 2 additions & 2 deletions example_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ def example_patches() -> plt.Figure: # type: ignore [name-defined]
fig, ax = plt.subplots()
arrow_1 = mpatches.FancyArrowPatch((0, 1), (1, 0), mutation_scale=100)
arrow_2 = mpatches.FancyArrowPatch((0, 0), (1, 1), mutation_scale=100)
ax.set_xlim([-0.1, 1.1])
ax.set_ylim([-0.1, 1.1])
ax.set_xlim(-0.1, 1.1)
ax.set_ylim(-0.1, 1.1)
ax.add_patch(arrow_1)
ax.add_patch(arrow_2)

Expand Down
71 changes: 41 additions & 30 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0d31bdb

Please sign in to comment.