Skip to content

Commit

Permalink
Bump matplotlib from 3.8.0 to 3.8.1 in /requirements (#1708)
Browse files Browse the repository at this point in the history
* Bump matplotlib from 3.8.0 to 3.8.1 in /requirements

Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](matplotlib/matplotlib@v3.8.0...v3.8.1)

---
updated-dependencies:
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* plt.show now has type hints

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <[email protected]>
  • Loading branch information
dependabot[bot] and adamjstewart authored Nov 1, 2023
1 parent 1fb0301 commit 94d0619
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ repos:
hooks:
- id: mypy
args: [--strict, --ignore-missing-imports, --show-error-codes]
additional_dependencies: [torch>=2, torchmetrics>=0.10, lightning>=2.0.9, pytest>=6.1.2, pyvista>=0.34.2, kornia>=0.6.5, numpy>=1.22]
additional_dependencies: [kornia>=0.6.5, lightning>=2.0.9, matplotlib>=3.8.1, numpy>=1.22, pytest>=6.1.2, pyvista>=0.34.2, torch>=2, torchmetrics>=0.10]
exclude: (build|data|dist|logo|logs|output)/
2 changes: 1 addition & 1 deletion experiments/ssl4eo/landsat/plot_landsat_bands.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@

plt.tight_layout()
plt.subplots_adjust(wspace=0.05)
plt.show() # type: ignore[no-untyped-call]
plt.show()
2 changes: 1 addition & 1 deletion experiments/ssl4eo/landsat/plot_landsat_timeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@
ax.spines[["top", "right"]].set_visible(False)

plt.tight_layout()
plt.show() # type: ignore[no-untyped-call]
plt.show()
2 changes: 1 addition & 1 deletion experiments/torchgeo/plot_bar_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@
plt.gca().spines.right.set_visible(False)
plt.gca().spines.top.set_visible(False)
plt.tight_layout()
plt.show() # type: ignore[no-untyped-call]
plt.show()
2 changes: 1 addition & 1 deletion experiments/torchgeo/plot_dataloader_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
plt.gca().spines.right.set_visible(False)
plt.gca().spines.top.set_visible(False)
plt.tight_layout()
plt.show() # type: ignore[no-untyped-call]
plt.show()
2 changes: 1 addition & 1 deletion experiments/torchgeo/plot_percentage_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
ax.set_xlabel("batch size")
ax.set_ylabel("% sampling rate (patches/sec)")
ax.legend()
plt.show() # type: ignore[no-untyped-call]
plt.show()
2 changes: 1 addition & 1 deletion requirements/required.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fiona==1.9.5
kornia==0.7.0
lightly==1.4.21
lightning[pytorch-extra]==2.1.0
matplotlib==3.8.0
matplotlib==3.8.1
numpy==1.26.1
pandas==2.1.2
pillow==10.1.0
Expand Down

0 comments on commit 94d0619

Please sign in to comment.