FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/lib/matplotlib/testing/widgets.pyi at main · matplotlib/matplotlib · GitHub
matplotlib
matplotlib
Repository navigation
Code
Issues
1.1k
(1.1k)
Pull requests
427
(427)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
lib
/
matplotlib
/
testing
/
widgets.pyi
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (29 loc) · 831 Bytes
Breadcrumbs
matplotlib
/
lib
/
matplotlib
/
testing
/
widgets.pyi
Copy path
File metadata and controls
31 lines (29 loc) · 831 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from
typing
import
Any
,
Literal
from
matplotlib
.
axes
import
Axes
from
matplotlib
.
backend_bases
import
Event
,
MouseButton
from
matplotlib
.
widgets
import
AxesWidget
,
Widget
def
get_ax
()
->
Axes
: ...
def
noop
(
*
args
:
Any
,
**
kwargs
:
Any
)
->
None
: ...
def
mock_event
(
ax
:
Axes
,
button
:
MouseButton
|
int
|
Literal
[
"up"
,
"down"
]
|
None
=
...,
xdata
:
float
=
...,
ydata
:
float
=
...,
key
:
str
|
None
=
...,
step
:
int
=
...,
)
->
Event
: ...
def
do_event
(
tool
:
AxesWidget
,
etype
:
str
,
button
:
MouseButton
|
int
|
Literal
[
"up"
,
"down"
]
|
None
=
...,
xdata
:
float
=
...,
ydata
:
float
=
...,
key
:
str
|
None
=
...,
step
:
int
=
...,
)
->
None
: ...
def
click_and_drag
(
tool
:
Widget
,
start
:
tuple
[
float
,
float
],
end
:
tuple
[
float
,
float
],
key
:
str
|
None
=
...,
)
->
None
: ...
Back
|
FazBrowse Home
|
New Git URL