Bump matplotlib from 3.9.0 to 3.9.2 in /requirements (#2227)

* Bump matplotlib from 3.9.0 to 3.9.2 in /requirements

Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.9.0 to 3.9.2.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.9.0...v3.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Fix everything except dates

* Suppress remaining mypy errors

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
dependabot[bot] 2024-08-14 15:22:12 +00:00 коммит произвёл GitHub
Родитель 912307aaf9
Коммит 5174f8ad36
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -24,7 +24,7 @@ repos:
- einops>=0.6.0
- kornia>=0.6.9
- lightning>=2.0.9
- matplotlib>=3.8.1
- matplotlib>=3.9.2
- numpy>=1.22
- pillow>=10.4.0
- pytest>=6.1.2

Просмотреть файл

@ -46,7 +46,7 @@ df = pd.read_csv('band_data.csv', skip_blank_lines=True)
df = df.iloc[::-1]
fig, ax = plt.subplots(figsize=(5.5, args.fig_height))
ax1, ax2 = fig.subplots(nrows=1, ncols=2, gridspec_kw={'width_ratios': [3, 1]}) # type: ignore[misc]
ax1, ax2 = fig.subplots(nrows=1, ncols=2, gridspec_kw={'width_ratios': [3, 1]})
sensor_names: list[str] = []
sensor_ylocs: list[float] = []
@ -125,8 +125,8 @@ for (satellite, sensor), group1 in df.groupby(['Satellite', 'Sensor'], sort=Fals
# Labels
ax.set_xlabel(r'Wavelength (\textmu m)')
ax.set_xticks([0], labels=[0])
ax.set_yticks([0], labels=[0])
ax.set_xticks([0], labels=['0'])
ax.set_yticks([0], labels=['0'])
ax.tick_params(colors='w')
ax.spines[['bottom', 'left', 'top', 'right']].set_visible(False)

Просмотреть файл

@ -88,10 +88,10 @@ for satellite in range(9, 0, -1):
}
xranges = [(start, end - start) for start, end in working[satellite]]
ax.broken_barh(xranges, hatch=None, **kwargs)
ax.broken_barh(xranges, hatch=None, **kwargs) # type: ignore[arg-type]
xranges = [(start, end - start) for start, end in failing[satellite]]
ax.broken_barh(xranges, hatch='////', **kwargs)
ax.broken_barh(xranges, hatch='////', **kwargs) # type: ignore[arg-type]
# Label
xmin = global_xmax
@ -127,16 +127,16 @@ for satellite in range(9, 0, -1):
'verticalalignment': 'center_baseline',
}
ax.text(x, horizontalalignment=horizontalalignment, **kwargs)
ax.text(x, horizontalalignment=horizontalalignment, **kwargs) # type: ignore[arg-type]
yticks.append(ymin + args.bar_height / 2)
ymin += args.bar_height + args.bar_sep
ax.xaxis_date()
ax.set_xlim(global_xmin, global_xmax)
ax.set_xlim(global_xmin, global_xmax) # type: ignore[arg-type]
ax.set_ylabel('Landsat Mission')
ax.set_yticks(yticks)
ax.set_yticklabels(range(9, 0, -1))
ax.set_yticklabels(map(str, range(9, 0, -1)))
ax.tick_params(axis='both', which='both', top=False, right=False)
ax.spines[['top', 'right']].set_visible(False)

Просмотреть файл

@ -7,7 +7,7 @@ fiona==1.9.6
kornia==0.7.3
lightly==1.5.11
lightning[pytorch-extra]==2.4.0
matplotlib==3.9.0
matplotlib==3.9.2
numpy==1.26.4
pandas==2.2.2
pillow==10.4.0