Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 37abd16

Browse filesBrowse files
committed
Remove 50% figure scale in remaining tutorials.
1 parent 2006665 commit 37abd16
Copy full SHA for 37abd16

File tree

Expand file treeCollapse file tree

5 files changed

+2
-33
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+2
-33
lines changed

‎examples/axes_grid1/simple_axes_divider1.py

Copy file name to clipboardExpand all lines: examples/axes_grid1/simple_axes_divider1.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def label_axes(ax, text):
1818
left=False, labelleft=False)
1919

2020

21-
fig = plt.figure(figsize=(12, 6))
22-
sfs = fig.subfigures(1, 2)
21+
fig = plt.figure(figsize=(6, 12))
22+
sfs = fig.subfigures(2, 1)
2323

2424

2525
sfs[0].suptitle("Fixed axes sizes, fixed paddings")

‎tutorials/text/mathtext.py

Copy file name to clipboardExpand all lines: tutorials/text/mathtext.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,5 +355,4 @@
355355
.. figure:: ../../gallery/pyplots/images/sphx_glr_pyplot_mathtext_001.png
356356
:target: ../../gallery/pyplots/pyplot_mathtext.html
357357
:align: center
358-
:scale: 50
359358
"""

‎tutorials/text/usetex.py

Copy file name to clipboardExpand all lines: tutorials/text/usetex.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_tex_demo_001.png
8080
:target: ../../gallery/text_labels_and_annotations/tex_demo.html
8181
:align: center
82-
:scale: 50
8382
8483
Note that display math mode (``$$ e=mc^2 $$``) is not supported, but adding the
8584
command ``\displaystyle``, as in the above demo, will produce the same results.

‎tutorials/toolkits/axes_grid.py

Copy file name to clipboardExpand all lines: tutorials/toolkits/axes_grid.py
-15Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_demo_axes_grid_001.png
2020
:target: ../../gallery/axes_grid1/demo_axes_grid.html
2121
:align: center
22-
:scale: 50
2322
2423
axes_grid1
2524
==========
@@ -36,7 +35,6 @@
3635
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_simple_axesgrid_001.png
3736
:target: ../../gallery/axes_grid1/simple_axesgrid.html
3837
:align: center
39-
:scale: 50
4038
4139
* The position of each axes is determined at the drawing time (see
4240
AxesDivider_), so that the size of the entire grid fits in the
@@ -53,14 +51,12 @@
5351
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_simple_axesgrid2_001.png
5452
:target: ../../gallery/axes_grid1/simple_axesgrid2.html
5553
:align: center
56-
:scale: 50
5754
5855
The examples below show what you can do with ImageGrid.
5956
6057
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_demo_axes_grid_001.png
6158
:target: ../../gallery/axes_grid1/demo_axes_grid.html
6259
:align: center
63-
:scale: 50
6460
6561
AxesDivider Class
6662
-----------------
@@ -86,7 +82,6 @@
8682
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_simple_colorbar_001.png
8783
:target: ../../gallery/axes_grid1/simple_colorbar.html
8884
:align: center
89-
:scale: 50
9085
9186
scatter_hist.py with AxesDivider
9287
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -114,7 +109,6 @@
114109
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_scatter_hist_locatable_axes_001.png
115110
:target: ../../gallery/axes_grid1/scatter_hist_locatable_axes.html
116111
:align: center
117-
:scale: 50
118112
119113
The :doc:`/gallery/axes_grid1/scatter_hist_locatable_axes` using the
120114
AxesDivider has some advantages over the
@@ -150,7 +144,6 @@
150144
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_parasite_simple_001.png
151145
:target: ../../gallery/axes_grid1/parasite_simple.html
152146
:align: center
153-
:scale: 50
154147
155148
Example 2. twin
156149
~~~~~~~~~~~~~~~
@@ -168,7 +161,6 @@
168161
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_simple_axisline4_001.png
169162
:target: ../../gallery/axes_grid1/simple_axisline4.html
170163
:align: center
171-
:scale: 50
172164
173165
A more sophisticated example using twin. Note that if you change the
174166
x-limit in the host axes, the x-limit of the parasite axes will change
@@ -177,7 +169,6 @@
177169
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_parasite_simple2_001.png
178170
:target: ../../gallery/axes_grid1/parasite_simple2.html
179171
:align: center
180-
:scale: 50
181172
182173
AnchoredArtists
183174
---------------
@@ -191,7 +182,6 @@
191182
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_simple_anchored_artists_001.png
192183
:target: ../../gallery/axes_grid1/simple_anchored_artists.html
193184
:align: center
194-
:scale: 50
195185
196186
InsetLocator
197187
------------
@@ -227,15 +217,13 @@
227217
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_inset_locator_demo_001.png
228218
:target: ../../gallery/axes_grid1/inset_locator_demo.html
229219
:align: center
230-
:scale: 50
231220
232221
`.inset_locator.mark_inset` allows marking the location of the area represented
233222
by the inset axes:
234223
235224
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_inset_locator_demo2_001.png
236225
:target: ../../gallery/axes_grid1/inset_locator_demo2.html
237226
:align: center
238-
:scale: 50
239227
240228
RGBAxes
241229
-------
@@ -255,7 +243,6 @@
255243
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_demo_axes_rgb_001.png
256244
:target: ../../gallery/axes_grid1/demo_axes_rgb.html
257245
:align: center
258-
:scale: 50
259246
260247
AxesDivider
261248
===========
@@ -334,13 +321,11 @@
334321
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_simple_axes_divider1_001.png
335322
:target: ../../gallery/axes_grid1/simple_axes_divider1.html
336323
:align: center
337-
:scale: 50
338324
339325
You can also adjust the size of each axes according to its x or y
340326
data limits (AxesX and AxesY).
341327
342328
.. figure:: ../../gallery/axes_grid1/images/sphx_glr_simple_axes_divider3_001.png
343329
:target: ../../gallery/axes_grid1/simple_axes_divider3.html
344330
:align: center
345-
:scale: 50
346331
"""

‎tutorials/toolkits/axisartist.py

Copy file name to clipboardExpand all lines: tutorials/toolkits/axisartist.py
-14Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
.. figure:: ../../gallery/axisartist/images/sphx_glr_demo_floating_axis_001.png
2121
:target: ../../gallery/axisartist/demo_floating_axis.html
2222
:align: center
23-
:scale: 50
2423
2524
Since it uses special artists, some Matplotlib commands that work on
2625
Axes.xaxis and Axes.yaxis may not work.
@@ -66,7 +65,6 @@
6665
.. figure:: ../../gallery/axisartist/images/sphx_glr_simple_axisline3_001.png
6766
:target: ../../gallery/axisartist/simple_axisline3.html
6867
:align: center
69-
:scale: 50
7068
7169
It is also possible to add a horizontal axis. For example, you may have an
7270
horizontal axis at y=0 (in data coordinate). ::
@@ -76,7 +74,6 @@
7674
.. figure:: ../../gallery/axisartist/images/sphx_glr_simple_axisartist1_001.png
7775
:target: ../../gallery/axisartist/simple_axisartist1.html
7876
:align: center
79-
:scale: 50
8077
8178
Or a fixed axis with some offset ::
8279
@@ -100,7 +97,6 @@
10097
.. figure:: ../../gallery/axisartist/images/sphx_glr_demo_parasite_axes2_001.png
10198
:target: ../../gallery/axisartist/demo_parasite_axes2.html
10299
:align: center
103-
:scale: 50
104100
105101
Curvilinear Grid
106102
----------------
@@ -111,7 +107,6 @@
111107
.. figure:: ../../gallery/axisartist/images/sphx_glr_demo_curvelinear_grid_001.png
112108
:target: ../../gallery/axisartist/demo_curvelinear_grid.html
113109
:align: center
114-
:scale: 50
115110
116111
Floating Axes
117112
-------------
@@ -122,7 +117,6 @@
122117
.. figure:: ../../gallery/axisartist/images/sphx_glr_demo_floating_axes_001.png
123118
:target: ../../gallery/axisartist/demo_floating_axes.html
124119
:align: center
125-
:scale: 50
126120
127121
axisartist namespace
128122
====================
@@ -155,7 +149,6 @@
155149
.. figure:: ../../gallery/axisartist/images/sphx_glr_demo_floating_axis_001.png
156150
:target: ../../gallery/axisartist/demo_floating_axis.html
157151
:align: center
158-
:scale: 50
159152
160153
*mpl_toolkits.axisartist.Axes* class defines a *axis* attribute, which
161154
is a dictionary of AxisArtist instances. By default, the dictionary
@@ -317,7 +310,6 @@
317310
.. figure:: ../../gallery/axisartist/images/sphx_glr_simple_axis_direction01_001.png
318311
:target: ../../gallery/axisartist/simple_axis_direction01.html
319312
:align: center
320-
:scale: 50
321313
322314
The parameter for set_axis_direction is one of ["left", "right",
323315
"bottom", "top"].
@@ -343,7 +335,6 @@
343335
.. figure:: ../../gallery/axisartist/images/sphx_glr_axis_direction_001.png
344336
:target: ../../gallery/axisartist/axis_direction.html
345337
:align: center
346-
:scale: 50
347338
348339
On the other hand, there is a concept of "axis_direction". This is a
349340
default setting of above properties for each, "bottom", "left", "top",
@@ -369,7 +360,6 @@
369360
.. figure:: ../../gallery/axisartist/images/sphx_glr_demo_axis_direction_001.png
370361
:target: ../../gallery/axisartist/demo_axis_direction.html
371362
:align: center
372-
:scale: 50
373363
374364
The axis_direction can be adjusted in the AxisArtist level, or in the
375365
level of its child artists, i.e., ticks, ticklabels, and axis-label. ::
@@ -401,7 +391,6 @@
401391
.. figure:: ../../gallery/axisartist/images/sphx_glr_simple_axis_direction03_001.png
402392
:target: ../../gallery/axisartist/simple_axis_direction03.html
403393
:align: center
404-
:scale: 50
405394
406395
So, in summary,
407396
@@ -437,7 +426,6 @@
437426
.. figure:: ../../gallery/axisartist/images/sphx_glr_demo_ticklabel_alignment_001.png
438427
:target: ../../gallery/axisartist/demo_ticklabel_alignment.html
439428
:align: center
440-
:scale: 50
441429
442430
Adjusting pad
443431
-------------
@@ -453,7 +441,6 @@
453441
.. figure:: ../../gallery/axisartist/images/sphx_glr_simple_axis_pad_001.png
454442
:target: ../../gallery/axisartist/simple_axis_pad.html
455443
:align: center
456-
:scale: 50
457444
458445
GridHelper
459446
==========
@@ -540,7 +527,6 @@ def inv_tr(x, y):
540527
.. figure:: ../../gallery/axisartist/images/sphx_glr_demo_curvelinear_grid_001.png
541528
:target: ../../gallery/axisartist/demo_curvelinear_grid.html
542529
:align: center
543-
:scale: 50
544530
545531
FloatingAxis
546532
============

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.