Skip to content

Commit 9f43227

Browse files
Update matplotlib requirement from <3.8.0,>3.1 to >3.1,<3.9.0 in /requirements (#18757)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Carlos Mocholí <[email protected]>
1 parent 7a0b454 commit 9f43227

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements/pytorch/extra.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
33

44
# extended list of package dependencies to reach full functionality
5-
matplotlib>3.1, <3.8.0
5+
matplotlib>3.1, <3.9.0
66
omegaconf >=2.0.5, <2.4.0
77
hydra-core >=1.0.5, <1.4.0
88
jsonargparse[signatures] >=4.18.0, <4.26.0

src/lightning/pytorch/tuner/lr_finder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def plot(self, suggest: bool = False, show: bool = False, ax: Optional["Axes"] =
154154
if ax is None:
155155
fig, ax = plt.subplots()
156156
else:
157-
fig = ax.figure
157+
fig = ax.figure # type: ignore[assignment]
158158

159159
# Plot loss as a function of the learning rate
160160
ax.plot(lrs, losses)

0 commit comments

Comments
 (0)