File tree Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 11version : 2
2- python :
3- version : 3.8
4- install :
5- - method : pip
6- path : .
7- extra_requirements :
8- - doc
92
3+
4+ # Set the OS, Python version and other tools you might need
5+
6+ build :
7+ os : ubuntu-22.04
8+ tools :
9+ python : " 3.12"
10+
11+ python :
12+ install :
13+ - method : pip
14+ path : .
15+ extra_requirements :
16+ - doc
1017# Build documentation in the docs/ directory with Sphinx
1118sphinx :
1219 configuration : docs/conf.py
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ classifiers = [
2424]
2525dynamic = [" version" ]
2626dependencies = [
27- " matplotlib" ,
27+ " matplotlib>=3.5 " ,
2828 " mpl-pan-zoom" ,
2929 " numpy" ,
3030]
Original file line number Diff line number Diff line change 44from typing import TYPE_CHECKING
55
66import numpy as np
7- from matplotlib import __version__ as mpl_version
7+ from matplotlib import __version_info__ as mpl_version_info
88from matplotlib import get_backend
99from matplotlib .colors import TABLEAU_COLORS , XKCD_COLORS , to_rgba_array
1010from matplotlib .path import Path
@@ -126,7 +126,7 @@ def __init__( # type: ignore
126126 if isinstance (lasso_mousebutton , str ):
127127 lasso_mousebutton = button_dict [lasso_mousebutton .lower ()]
128128
129- if mpl_version < "3.7" :
129+ if mpl_version_info < ( 3 , 7 ) :
130130 self .lasso = LassoSelector (
131131 self .ax ,
132132 self ._onselect ,
You can’t perform that action at this time.
0 commit comments