FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib.github.com/2.2.3/api/figure_api.html at refs/heads/main · matplotlib/matplotlib.github.com · GitHub
matplotlib
/
matplotlib.github.com
Public
Notifications
You must be signed in to change notification settings
Fork
62
Star
29
Code
Issues
1
Pull requests
2
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib.github.com
/
2.2.3
/
api
/
figure_api.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
208 lines (184 loc) · 10.4 KB
Breadcrumbs
matplotlib.github.com
/
2.2.3
/
api
/
figure_api.html
Copy path
File metadata and controls
208 lines (184 loc) · 10.4 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<
html
xmlns
="
http://www.w3.org/1999/xhtml
"
>
<
head
>
<
meta
http-equiv
="
Content-Type
"
content
="
text/html; charset=utf-8
"
/>
<
title
>
figure — Matplotlib 2.2.3 documentation
</
title
>
<
link
rel
="
stylesheet
"
href
="
../_static/mpl.css
"
type
="
text/css
"
/>
<
link
rel
="
stylesheet
"
href
="
../_static/pygments.css
"
type
="
text/css
"
/>
<
link
rel
="
stylesheet
"
href
="
../_static/gallery.css
"
type
="
text/css
"
/>
<
script
type
="
text/javascript
"
>
var
DOCUMENTATION_OPTIONS
=
{
URL_ROOT
:
'../'
,
VERSION
:
'2.2.3'
,
COLLAPSE_INDEX
:
false
,
FILE_SUFFIX
:
'.html'
,
HAS_SOURCE
:
true
,
SOURCELINK_SUFFIX
:
'.txt'
}
;
</
script
>
<
script
type
="
text/javascript
"
src
="
../_static/jquery.js
"
>
</
script
>
<
script
type
="
text/javascript
"
src
="
../_static/underscore.js
"
>
</
script
>
<
script
type
="
text/javascript
"
src
="
../_static/doctools.js
"
>
</
script
>
<
link
rel
="
search
"
type
="
application/opensearchdescription+xml
"
title
="
Search within Matplotlib 2.2.3 documentation
"
href
="
../_static/opensearch.xml
"
/>
<
link
rel
="
shortcut icon
"
href
="
../_static/favicon.ico
"
/>
<
link
rel
="
index
"
title
="
Index
"
href
="
../genindex.html
"
/>
<
link
rel
="
search
"
title
="
Search
"
href
="
../search.html
"
/>
<
link
rel
="
top
"
title
="
Matplotlib 2.2.3 documentation
"
href
="
../index.html
"
/>
<
link
rel
="
up
"
title
="
The Matplotlib API
"
href
="
index.html
"
/>
<
link
rel
="
next
"
title
="
matplotlib.figure.AxesStack
"
href
="
_as_gen/matplotlib.figure.AxesStack.html
"
/>
<
link
rel
="
prev
"
title
="
dviread
"
href
="
dviread.html
"
/>
<
link
rel
="
canonical
"
href
="
https://matplotlib.org/stable/api/figure_api.html
"
/>
<
script
data-domain
="
matplotlib.org
"
defer
="
defer
"
src
="
https://views.scientific-python.org/js/script.js
"
>
</
script
>
</
head
>
<
body
>
<
div
id
="
unreleased-message
"
>
You are reading an old version of the documentation (v2.2.3). For the latest version see
<
a
href
="
https://matplotlib.org/stable/api/figure_api.html
"
>
https://matplotlib.org/stable/api/figure_api.html
</
a
>
</
div
>
<
div
style
="
background-color: white; text-align: left; padding: 10px 10px 15px 15px; position: relative;
"
>
<
a
href
="
../index.html
"
>
<
div
style
="
float: left; position: absolute; width: 496px; bottom: 0; padding-bottom: 24px
"
>
<
span
style
="
float: right; color: #789; background: white
"
>
Version 2.2.3
</
span
>
</
div
>
<
img
src
="
../_static/logo2.png
"
height
="
125px
"
border
="
0
"
alt
="
matplotlib
"
/>
</
a
>
<!-- The "Fork me on github" ribbon -->
<
div
id
="
forkongithub
"
>
<
a
href
="
https://github.com/matplotlib/matplotlib
"
>
Fork me on GitHub
</
a
>
</
div
>
</
div
>
<
div
class
="
related
"
>
<
h3
>
Navigation
</
h3
>
<
ul
>
<
li
class
="
right
"
style
="
margin-right: 10px
"
>
<
a
href
="
../genindex.html
"
title
="
General Index
"
accesskey
="
I
"
>
index
</
a
>
</
li
>
<
li
class
="
right
"
>
<
a
href
="
../py-modindex.html
"
title
="
Python Module Index
"
>
modules
</
a
>
|
</
li
>
<
li
class
="
right
"
>
<
a
href
="
_as_gen/matplotlib.figure.AxesStack.html
"
title
="
matplotlib.figure.AxesStack
"
accesskey
="
N
"
>
next
</
a
>
|
</
li
>
<
li
class
="
right
"
>
<
a
href
="
dviread.html
"
title
="
dviread
"
accesskey
="
P
"
>
previous
</
a
>
|
</
li
>
<
li
>
<
a
href
="
../index.html
"
>
home
</
a
>
|
</
li
>
<
li
>
<
a
href
="
../gallery/index.html
"
>
examples
</
a
>
|
</
li
>
<
li
>
<
a
href
="
../tutorials/index.html
"
>
tutorials
</
a
>
|
</
li
>
<
li
>
<
a
href
="
pyplot_summary.html
"
>
pyplot
</
a
>
|
</
li
>
<
li
>
<
a
href
="
../contents.html
"
>
docs
</
a
>
»
</
li
>
<
li
>
<
a
href
="
index.html
"
accesskey
="
U
"
>
The Matplotlib API
</
a
>
»
</
li
>
</
ul
>
</
div
>
<
div
class
="
sphinxsidebar
"
>
<
div
class
="
sphinxsidebarwrapper
"
>
<
div
id
="
searchbox
"
style
="
display: none
"
role
="
search
"
>
<
h3
>
Quick search
</
h3
>
<
div
class
="
searchformwrapper
"
>
<
form
class
="
search
"
action
="
../search.html
"
method
="
get
"
>
<
input
type
="
text
"
name
="
q
"
/>
<
input
type
="
submit
"
value
="
Go
"
/>
<
input
type
="
hidden
"
name
="
check_keywords
"
value
="
yes
"
/>
<
input
type
="
hidden
"
name
="
area
"
value
="
default
"
/>
</
form
>
</
div
>
</
div
>
<
script
type
="
text/javascript
"
>
$
(
'#searchbox'
)
.
show
(
0
)
;
</
script
>
<
h3
>
<
a
href
="
../contents.html
"
>
Table Of Contents
</
a
>
</
h3
>
<
ul
>
<
li
>
<
a
class
="
reference internal
"
href
="
#
"
>
figure
</
a
>
<
ul
>
<
li
>
<
a
class
="
reference internal
"
href
="
#module-matplotlib.figure
"
>
<
code
class
="
docutils literal notranslate
"
>
<
span
class
="
pre
"
>
matplotlib.figure
</
span
>
</
code
>
</
a
>
<
ul
>
<
li
>
<
a
class
="
reference internal
"
href
="
#classes
"
>
Classes
</
a
>
</
li
>
<
li
>
<
a
class
="
reference internal
"
href
="
#functions
"
>
Functions
</
a
>
</
li
>
</
ul
>
</
li
>
</
ul
>
</
li
>
</
ul
>
<
div
class
="
relations
"
>
<
h3
>
Related Topics
</
h3
>
<
ul
>
<
li
>
<
a
href
="
../contents.html
"
>
Documentation overview
</
a
>
<
ul
>
<
li
>
<
a
href
="
index.html
"
>
The Matplotlib API
</
a
>
<
ul
>
<
li
>
Previous:
<
a
href
="
dviread.html
"
title
="
previous chapter
"
>
dviread
</
a
>
</
li
>
<
li
>
Next:
<
a
href
="
_as_gen/matplotlib.figure.AxesStack.html
"
title
="
next chapter
"
>
matplotlib.figure.AxesStack
</
a
>
</
li
>
</
ul
>
</
li
>
</
ul
>
</
li
>
</
ul
>
</
div
>
<
div
id
="
sidebar-pagesource
"
role
="
note
"
aria-label
="
source link
"
style
="
margin-top: 1.5em; padding-top: 0.1em; border-top: 1px solid #86989b
"
>
<
a
href
="
../_sources/api/figure_api.rst.txt
"
style
="
color: #c0c0c0
"
rel
="
nofollow
"
>
Show Page Source
</
a
>
</
div
>
</
div
>
</
div
>
<
div
class
="
document
"
>
<
div
class
="
documentwrapper
"
>
<
div
class
="
bodywrapper
"
>
<
div
class
="
body
"
>
<
div
class
="
section
"
id
="
figure
"
>
<
h1
>
figure
<
a
class
="
headerlink
"
href
="
#figure
"
title
="
Permalink to this headline
"
>
¶
</
a
>
</
h1
>
<
div
class
="
section
"
id
="
module-matplotlib.figure
"
>
<
span
id
="
matplotlib-figure
"
>
</
span
>
<
h2
>
<
a
class
="
reference internal
"
href
="
#module-matplotlib.figure
"
title
="
matplotlib.figure
"
>
<
code
class
="
xref py py-mod docutils literal notranslate
"
>
<
span
class
="
pre
"
>
matplotlib.figure
</
span
>
</
code
>
</
a
>
<
a
class
="
headerlink
"
href
="
#module-matplotlib.figure
"
title
="
Permalink to this headline
"
>
¶
</
a
>
</
h2
>
<
p
>
The figure module provides the top-level
<
a
class
="
reference internal
"
href
="
artist_api.html#matplotlib.artist.Artist
"
title
="
matplotlib.artist.Artist
"
>
<
code
class
="
xref py py-class docutils literal notranslate
"
>
<
span
class
="
pre
"
>
Artist
</
span
>
</
code
>
</
a
>
, the
<
a
class
="
reference internal
"
href
="
_as_gen/matplotlib.figure.Figure.html#matplotlib.figure.Figure
"
title
="
matplotlib.figure.Figure
"
>
<
code
class
="
xref py py-class docutils literal notranslate
"
>
<
span
class
="
pre
"
>
Figure
</
span
>
</
code
>
</
a
>
, which
contains all the plot elements. The following classes are defined
</
p
>
<
dl
class
="
docutils
"
>
<
dt
>
<
a
class
="
reference internal
"
href
="
_as_gen/matplotlib.figure.SubplotParams.html#matplotlib.figure.SubplotParams
"
title
="
matplotlib.figure.SubplotParams
"
>
<
code
class
="
xref py py-class docutils literal notranslate
"
>
<
span
class
="
pre
"
>
SubplotParams
</
span
>
</
code
>
</
a
>
</
dt
>
<
dd
>
control the default spacing of the subplots
</
dd
>
<
dt
>
<
a
class
="
reference internal
"
href
="
_as_gen/matplotlib.figure.Figure.html#matplotlib.figure.Figure
"
title
="
matplotlib.figure.Figure
"
>
<
code
class
="
xref py py-class docutils literal notranslate
"
>
<
span
class
="
pre
"
>
Figure
</
span
>
</
code
>
</
a
>
</
dt
>
<
dd
>
Top level container for all plot elements.
</
dd
>
</
dl
>
<
div
class
="
section
"
id
="
classes
"
>
<
h3
>
Classes
<
a
class
="
headerlink
"
href
="
#classes
"
title
="
Permalink to this headline
"
>
¶
</
a
>
</
h3
>
<
table
border
="
1
"
class
="
longtable docutils
"
>
<
colgroup
>
<
col
width
="
10%
"
/>
<
col
width
="
90%
"
/>
</
colgroup
>
<
tbody
valign
="
top
"
>
<
tr
class
="
row-odd
"
>
<
td
>
<
a
class
="
reference internal
"
href
="
_as_gen/matplotlib.figure.AxesStack.html#matplotlib.figure.AxesStack
"
title
="
matplotlib.figure.AxesStack
"
>
<
code
class
="
xref py py-obj docutils literal notranslate
"
>
<
span
class
="
pre
"
>
AxesStack
</
span
>
</
code
>
</
a
>
()
</
td
>
<
td
>
Specialization of the
<
a
class
="
reference internal
"
href
="
cbook_api.html#matplotlib.cbook.Stack
"
title
="
matplotlib.cbook.Stack
"
>
<
code
class
="
xref py py-obj docutils literal notranslate
"
>
<
span
class
="
pre
"
>
Stack
</
span
>
</
code
>
</
a
>
to handle all tracking of
<
a
class
="
reference internal
"
href
="
axes_api.html#matplotlib.axes.Axes
"
title
="
matplotlib.axes.Axes
"
>
<
code
class
="
xref py py-obj docutils literal notranslate
"
>
<
span
class
="
pre
"
>
Axes
</
span
>
</
code
>
</
a
>
in a
<
a
class
="
reference internal
"
href
="
_as_gen/matplotlib.figure.Figure.html#matplotlib.figure.Figure
"
title
="
matplotlib.figure.Figure
"
>
<
code
class
="
xref py py-obj docutils literal notranslate
"
>
<
span
class
="
pre
"
>
Figure
</
span
>
</
code
>
</
a
>
.
</
td
>
</
tr
>
<
tr
class
="
row-even
"
>
<
td
>
<
a
class
="
reference internal
"
href
="
_as_gen/matplotlib.figure.Figure.html#matplotlib.figure.Figure
"
title
="
matplotlib.figure.Figure
"
>
<
code
class
="
xref py py-obj docutils literal notranslate
"
>
<
span
class
="
pre
"
>
Figure
</
span
>
</
code
>
</
a
>
([figsize, dpi, facecolor, edgecolor, ...])
</
td
>
<
td
>
The top level container for all the plot elements.
</
td
>
</
tr
>
<
tr
class
="
row-odd
"
>
<
td
>
<
a
class
="
reference internal
"
href
="
_as_gen/matplotlib.figure.SubplotParams.html#matplotlib.figure.SubplotParams
"
title
="
matplotlib.figure.SubplotParams
"
>
<
code
class
="
xref py py-obj docutils literal notranslate
"
>
<
span
class
="
pre
"
>
SubplotParams
</
span
>
</
code
>
</
a
>
([left, bottom, right, top, ...])
</
td
>
<
td
>
A class to hold the parameters for a subplot.
</
td
>
</
tr
>
</
tbody
>
</
table
>
</
div
>
<
div
class
="
section
"
id
="
functions
"
>
<
h3
>
Functions
<
a
class
="
headerlink
"
href
="
#functions
"
title
="
Permalink to this headline
"
>
¶
</
a
>
</
h3
>
<
table
border
="
1
"
class
="
longtable docutils
"
>
<
colgroup
>
<
col
width
="
10%
"
/>
<
col
width
="
90%
"
/>
</
colgroup
>
<
tbody
valign
="
top
"
>
<
tr
class
="
row-odd
"
>
<
td
>
<
a
class
="
reference internal
"
href
="
_as_gen/matplotlib.figure.figaspect.html#matplotlib.figure.figaspect
"
title
="
matplotlib.figure.figaspect
"
>
<
code
class
="
xref py py-obj docutils literal notranslate
"
>
<
span
class
="
pre
"
>
figaspect
</
span
>
</
code
>
</
a
>
(arg)
</
td
>
<
td
>
Create a figure with specified aspect ratio.
</
td
>
</
tr
>
</
tbody
>
</
table
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
="
clearer
"
>
</
div
>
</
div
>
<
div
class
="
footer
"
>
© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2018 The Matplotlib development team.
<
br
/>
Last updated on Aug 11, 2018.
Created using
<
ahref
="http://sphinx-doc.org/"
>
Sphinx
</
a
>
1.7.6.
Doc version v2.2.3-1-gd47e15e7a.
</
div
>
</
body
>
<
footer
>
</
footer
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL