File tree 3 files changed +17
-10
lines changed
3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
- python :
3
- version : 3.8
4
- install :
5
- - method : pip
6
- path : .
7
- extra_requirements :
8
- - doc
9
2
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
10
17
# Build documentation in the docs/ directory with Sphinx
11
18
sphinx :
12
19
configuration : docs/conf.py
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ classifiers = [
24
24
]
25
25
dynamic = [" version" ]
26
26
dependencies = [
27
- " matplotlib" ,
27
+ " matplotlib>=3.5 " ,
28
28
" mpl-pan-zoom" ,
29
29
" numpy" ,
30
30
]
Original file line number Diff line number Diff line change 4
4
from typing import TYPE_CHECKING
5
5
6
6
import numpy as np
7
- from matplotlib import __version__ as mpl_version
7
+ from matplotlib import __version_info__ as mpl_version_info
8
8
from matplotlib import get_backend
9
9
from matplotlib .colors import TABLEAU_COLORS , XKCD_COLORS , to_rgba_array
10
10
from matplotlib .path import Path
@@ -126,7 +126,7 @@ def __init__( # type: ignore
126
126
if isinstance (lasso_mousebutton , str ):
127
127
lasso_mousebutton = button_dict [lasso_mousebutton .lower ()]
128
128
129
- if mpl_version < "3.7" :
129
+ if mpl_version_info < ( 3 , 7 ) :
130
130
self .lasso = LassoSelector (
131
131
self .ax ,
132
132
self ._onselect ,
You can’t perform that action at this time.
0 commit comments