Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
matplotlib/lib/matplotlib/cbook.pyi at v3.8.3 · matplotlib/matplotlib · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
matplotlib
/
matplotlib
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
8.5k
Star
23.2k
Code
Issues
1.1k
Pull requests
423
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Files
Expand file tree
v3.8.3
Breadcrumbs
matplotlib
/
lib
/
matplotlib
/
cbook.pyi
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
175 lines (156 loc) · 5.61 KB
v3.8.3
Breadcrumbs
matplotlib
/
lib
/
matplotlib
/
cbook.pyi
Copy path
Top
File metadata and controls
Code
Blame
175 lines (156 loc) · 5.61 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
import
collections
.
abc
from
collections
.
abc
import
Callable
,
Collection
,
Generator
,
Iterable
,
Iterator
import
contextlib
import
os
from
pathlib
import
Path
from
matplotlib
.
artist
import
Artist
import
numpy
as
np
from
numpy
.
typing
import
ArrayLike
from
typing
import
(
Any
,
Generic
,
IO
,
Literal
,
TypeVar
,
overload
,
)
_T
=
TypeVar
(
"_T"
)
def
_get_running_interactive_framework
()
->
str
|
None
: ...
class
CallbackRegistry
:
exception_handler
:
Callable
[[
Exception
],
Any
]
callbacks
:
dict
[
Any
,
dict
[
int
,
Any
]]
def
__init__
(
self
,
exception_handler
:
Callable
[[
Exception
],
Any
]
|
None
=
...,
*
,
signals
:
Iterable
[
Any
]
|
None
=
...,
)
->
None
: ...
def
connect
(
self
,
signal
:
Any
,
func
:
Callable
)
->
int
: ...
def
disconnect
(
self
,
cid
:
int
)
->
None
: ...
def
process
(
self
,
s
:
Any
,
*
args
,
**
kwargs
)
->
None
: ...
def
blocked
(
self
,
*
,
signal
:
Any
|
None
=
...
)
->
contextlib
.
AbstractContextManager
[
None
]: ...
class
silent_list
(
list
[
_T
]):
type
:
str
|
None
def
__init__
(
self
,
type
:
str
|
None
,
seq
:
Iterable
[
_T
]
|
None
=
...)
->
None
: ...
def
strip_math
(
s
:
str
)
->
str
: ...
def
is_writable_file_like
(
obj
:
Any
)
->
bool
: ...
def
file_requires_unicode
(
x
:
Any
)
->
bool
: ...
@
overload
def
to_filehandle
(
fname
:
str
|
os
.
PathLike
|
IO
,
flag
:
str
=
...,
return_opened
:
Literal
[
False
]
=
...,
encoding
:
str
|
None
=
...,
)
->
IO
: ...
@
overload
def
to_filehandle
(
fname
:
str
|
os
.
PathLike
|
IO
,
flag
:
str
,
return_opened
:
Literal
[
True
],
encoding
:
str
|
None
=
...,
)
->
tuple
[
IO
,
bool
]: ...
@
overload
def
to_filehandle
(
fname
:
str
|
os
.
PathLike
|
IO
,
*
,
# if flag given, will match previous sig
return_opened
:
Literal
[
True
],
encoding
:
str
|
None
=
...,
)
->
tuple
[
IO
,
bool
]: ...
def
open_file_cm
(
path_or_file
:
str
|
os
.
PathLike
|
IO
,
mode
:
str
=
...,
encoding
:
str
|
None
=
...,
)
->
contextlib
.
AbstractContextManager
[
IO
]: ...
def
is_scalar_or_string
(
val
:
Any
)
->
bool
: ...
@
overload
def
get_sample_data
(
fname
:
str
|
os
.
PathLike
,
asfileobj
:
Literal
[
True
]
=
...,
*
,
np_load
:
Literal
[
True
]
)
->
np
.
ndarray
: ...
@
overload
def
get_sample_data
(
fname
:
str
|
os
.
PathLike
,
asfileobj
:
Literal
[
True
]
=
...,
*
,
np_load
:
Literal
[
False
]
=
...,
)
->
IO
: ...
@
overload
def
get_sample_data
(
fname
:
str
|
os
.
PathLike
,
asfileobj
:
Literal
[
False
],
*
,
np_load
:
bool
=
...
)
->
str
: ...
def
_get_data_path
(
*
args
:
Path
|
str
)
->
Path
: ...
def
flatten
(
seq
:
Iterable
[
Any
],
scalarp
:
Callable
[[
Any
],
bool
]
=
...
)
->
Generator
[
Any
,
None
,
None
]: ...
class
Stack
(
Generic
[
_T
]):
def
__init__
(
self
,
default
:
_T
|
None
=
...)
->
None
: ...
def
__call__
(
self
)
->
_T
: ...
def
__len__
(
self
)
->
int
: ...
def
__getitem__
(
self
,
ind
:
int
)
->
_T
: ...
def
forward
(
self
)
->
_T
: ...
def
back
(
self
)
->
_T
: ...
def
push
(
self
,
o
:
_T
)
->
_T
: ...
def
home
(
self
)
->
_T
: ...
def
empty
(
self
)
->
bool
: ...
def
clear
(
self
)
->
None
: ...
def
bubble
(
self
,
o
:
_T
)
->
_T
: ...
def
remove
(
self
,
o
:
_T
)
->
None
: ...
def
safe_masked_invalid
(
x
:
ArrayLike
,
copy
:
bool
=
...)
->
np
.
ndarray
: ...
def
print_cycles
(
objects
:
Iterable
[
Any
],
outstream
:
IO
=
...,
show_progress
:
bool
=
...
)
->
None
: ...
class
Grouper
(
Generic
[
_T
]):
def
__init__
(
self
,
init
:
Iterable
[
_T
]
=
...)
->
None
: ...
def
__contains__
(
self
,
item
:
_T
)
->
bool
: ...
def
clean
(
self
)
->
None
: ...
def
join
(
self
,
a
:
_T
,
*
args
:
_T
)
->
None
: ...
def
joined
(
self
,
a
:
_T
,
b
:
_T
)
->
bool
: ...
def
remove
(
self
,
a
:
_T
)
->
None
: ...
def
__iter__
(
self
)
->
Iterator
[
list
[
_T
]]: ...
def
get_siblings
(
self
,
a
:
_T
)
->
list
[
_T
]: ...
class
GrouperView
(
Generic
[
_T
]):
def
__init__
(
self
,
grouper
:
Grouper
[
_T
])
->
None
: ...
def
__contains__
(
self
,
item
:
_T
)
->
bool
: ...
def
__iter__
(
self
)
->
Iterator
[
list
[
_T
]]: ...
def
joined
(
self
,
a
:
_T
,
b
:
_T
)
->
bool
: ...
def
get_siblings
(
self
,
a
:
_T
)
->
list
[
_T
]: ...
def
simple_linear_interpolation
(
a
:
ArrayLike
,
steps
:
int
)
->
np
.
ndarray
: ...
def
delete_masked_points
(
*
args
): ...
def
boxplot_stats
(
X
:
ArrayLike
,
whis
:
float
|
tuple
[
float
,
float
]
=
...,
bootstrap
:
int
|
None
=
...,
labels
:
ArrayLike
|
None
=
...,
autorange
:
bool
=
...,
)
->
list
[
dict
[
str
,
Any
]]: ...
ls_mapper
:
dict
[
str
,
str
]
ls_mapper_r
:
dict
[
str
,
str
]
def
contiguous_regions
(
mask
:
ArrayLike
)
->
list
[
np
.
ndarray
]: ...
def
is_math_text
(
s
:
str
)
->
bool
: ...
def
violin_stats
(
X
:
ArrayLike
,
method
:
Callable
,
points
:
int
=
...,
quantiles
:
ArrayLike
|
None
=
...
)
->
list
[
dict
[
str
,
Any
]]: ...
def
pts_to_prestep
(
x
:
ArrayLike
,
*
args
:
ArrayLike
)
->
np
.
ndarray
: ...
def
pts_to_poststep
(
x
:
ArrayLike
,
*
args
:
ArrayLike
)
->
np
.
ndarray
: ...
def
pts_to_midstep
(
x
:
np
.
ndarray
,
*
args
:
np
.
ndarray
)
->
np
.
ndarray
: ...
STEP_LOOKUP_MAP
:
dict
[
str
,
Callable
]
def
index_of
(
y
:
float
|
ArrayLike
)
->
tuple
[
np
.
ndarray
,
np
.
ndarray
]: ...
def
safe_first_element
(
obj
:
Collection
[
_T
])
->
_T
: ...
def
sanitize_sequence
(
data
): ...
def
normalize_kwargs
(
kw
:
dict
[
str
,
Any
],
alias_mapping
:
dict
[
str
,
list
[
str
]]
|
type
[
Artist
]
|
Artist
|
None
=
...,
)
->
dict
[
str
,
Any
]: ...
def
_lock_path
(
path
:
str
|
os
.
PathLike
)
->
contextlib
.
AbstractContextManager
[
None
]: ...
def
_str_equal
(
obj
:
Any
,
s
:
str
)
->
bool
: ...
def
_setattr_cm
(
obj
:
Any
,
**
kwargs
)
->
contextlib
.
AbstractContextManager
[
None
]: ...
class
_OrderedSet
(
collections
.
abc
.
MutableSet
):
def
__init__
(
self
)
->
None
: ...
def
__contains__
(
self
,
key
)
->
bool
: ...
def
__iter__
(
self
): ...
def
__len__
(
self
)
->
int
: ...
def
add
(
self
,
key
)
->
None
: ...
def
discard
(
self
,
key
)
->
None
: ...
def
_backend_module_name
(
name
:
str
)
->
str
: ...
def
_format_approx
(
number
:
float
,
precision
:
int
)
->
str
: ...
You can’t perform that action at this time.