Skip to content

Commit 0d31bdb

Browse files
fix(deps): update dependency matplotlib to v3.9.2 (#68)
* 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>
1 parent eaa1e45 commit 0d31bdb

2 files changed

Lines changed: 43 additions & 32 deletions

File tree

example_plots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def example_patches() -> plt.Figure: # type: ignore [name-defined]
107107
fig, ax = plt.subplots()
108108
arrow_1 = mpatches.FancyArrowPatch((0, 1), (1, 0), mutation_scale=100)
109109
arrow_2 = mpatches.FancyArrowPatch((0, 0), (1, 1), mutation_scale=100)
110-
ax.set_xlim([-0.1, 1.1])
111-
ax.set_ylim([-0.1, 1.1])
110+
ax.set_xlim(-0.1, 1.1)
111+
ax.set_ylim(-0.1, 1.1)
112112
ax.add_patch(arrow_1)
113113
ax.add_patch(arrow_2)
114114

poetry.lock

Lines changed: 41 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)