mirror of https://github.com/Nonannet/pyladoc.git
New Python version added in CI and typing fixed in __init__.py
This commit is contained in:
parent
a90c411ff1
commit
1e7e7bfead
|
@ -47,7 +47,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10"]
|
||||
python-version: ["3.10", 3.13]
|
||||
|
||||
steps:
|
||||
- name: Check out code
|
||||
|
|
|
@ -90,8 +90,9 @@ def _save_figure(fig: Figure, buff: io.BytesIO, figure_format: FFormat, font_fam
|
|||
yield ax.xaxis.label
|
||||
yield ax.yaxis.label
|
||||
yield from ax.get_xticklabels() + ax.get_yticklabels()
|
||||
legend: Mpl_Legend = ax.get_legend()
|
||||
legend = ax.get_legend()
|
||||
if legend:
|
||||
assert isinstance(legend, Mpl_Legend)
|
||||
yield from legend.get_texts()
|
||||
|
||||
# Store current figure settings
|
||||
|
|
Loading…
Reference in New Issue