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 c331f99

Browse filesBrowse files
committed
Cleanup sample plots tutorial in new theme.
Center the EEG image in sample plots tutorial, which matches the rest of the images in the tutorial. Drop captions that don't say much, and make images full size.
1 parent e1f62cb commit c331f99
Copy full SHA for c331f99

File tree

Expand file treeCollapse file tree

1 file changed

+1
-62
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-62
lines changed

‎tutorials/introductory/sample_plots.py

Copy file name to clipboardExpand all lines: tutorials/introductory/sample_plots.py
+1-62Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
.. figure:: ../../gallery/lines_bars_and_markers/images/sphx_glr_simple_plot_001.png
1818
:target: ../../gallery/lines_bars_and_markers/simple_plot.html
1919
:align: center
20-
:scale: 50
21-
22-
Simple Plot
2320
2421
.. _screenshots_subplot_demo:
2522
@@ -32,9 +29,6 @@
3229
.. figure:: ../../gallery/subplots_axes_and_figures/images/sphx_glr_subplot_001.png
3330
:target: ../../gallery/subplots_axes_and_figures/subplot.html
3431
:align: center
35-
:scale: 50
36-
37-
Subplot
3832
3933
.. _screenshots_images_demo:
4034
@@ -47,7 +41,6 @@
4741
.. figure:: ../../gallery/images_contours_and_fields/images/sphx_glr_image_demo_003.png
4842
:target: ../../gallery/images_contours_and_fields/image_demo.html
4943
:align: center
50-
:scale: 50
5144
5245
Example of using :func:`~matplotlib.pyplot.imshow` to display a CT scan
5346
@@ -66,9 +59,6 @@
6659
.. figure:: ../../gallery/images_contours_and_fields/images/sphx_glr_pcolormesh_levels_001.png
6760
:target: ../../gallery/images_contours_and_fields/pcolormesh_levels.html
6861
:align: center
69-
:scale: 50
70-
71-
Example comparing :func:`~matplotlib.pyplot.pcolormesh` and :func:`~matplotlib.pyplot.contour` for plotting two-dimensional data
7262
7363
.. _screenshots_histogram_demo:
7464
@@ -81,10 +71,6 @@
8171
.. figure:: ../../gallery/statistics/images/sphx_glr_histogram_features_001.png
8272
:target: ../../gallery/statistics/histogram_features.html
8373
:align: center
84-
:scale: 50
85-
86-
Histogram Features
87-
8874
8975
.. _screenshots_path_demo:
9076
@@ -97,9 +83,6 @@
9783
.. figure:: ../../gallery/shapes_and_collections/images/sphx_glr_path_patch_001.png
9884
:target: ../../gallery/shapes_and_collections/path_patch.html
9985
:align: center
100-
:scale: 50
101-
102-
Path Patch
10386
10487
.. _screenshots_mplot3d_surface:
10588
@@ -113,9 +96,6 @@
11396
.. figure:: ../../gallery/mplot3d/images/sphx_glr_surface3d_001.png
11497
:target: ../../gallery/mplot3d/surface3d.html
11598
:align: center
116-
:scale: 50
117-
118-
Surface3d
11999
120100
Thanks to John Porter, Jonathon Taylor, Reinier Heeres, and Ben Root for
121101
the `.mplot3d` toolkit. This toolkit is included with all standard Matplotlib
@@ -135,7 +115,6 @@
135115
.. figure:: ../../gallery/images_contours_and_fields/images/sphx_glr_plot_streamplot_001.png
136116
:target: ../../gallery/images_contours_and_fields/plot_streamplot.html
137117
:align: center
138-
:scale: 50
139118
140119
Streamplot with various plotting options.
141120
@@ -156,9 +135,6 @@
156135
.. figure:: ../../gallery/shapes_and_collections/images/sphx_glr_ellipse_demo_001.png
157136
:target: ../../gallery/shapes_and_collections/ellipse_demo.html
158137
:align: center
159-
:scale: 50
160-
161-
Ellipse Demo
162138
163139
.. _screenshots_barchart_demo:
164140
@@ -171,9 +147,6 @@
171147
.. figure:: ../../gallery/statistics/images/sphx_glr_barchart_demo_001.png
172148
:target: ../../gallery/statistics/barchart_demo.html
173149
:align: center
174-
:scale: 50
175-
176-
Barchart Demo
177150
178151
You can also create stacked bars
179152
(`bar_stacked.py <../../gallery/lines_bars_and_markers/bar_stacked.html>`_),
@@ -195,9 +168,6 @@
195168
.. figure:: ../../gallery/pie_and_polar_charts/images/sphx_glr_pie_features_001.png
196169
:target: ../../gallery/pie_and_polar_charts/pie_features.html
197170
:align: center
198-
:scale: 50
199-
200-
Pie Features
201171
202172
.. _screenshots_table_demo:
203173
@@ -210,14 +180,9 @@
210180
.. figure:: ../../gallery/misc/images/sphx_glr_table_demo_001.png
211181
:target: ../../gallery/misc/table_demo.html
212182
:align: center
213-
:scale: 50
214-
215-
Table Demo
216-
217183
218184
.. _screenshots_scatter_demo:
219185
220-
221186
Scatter plots
222187
=============
223188
@@ -230,10 +195,6 @@
230195
.. figure:: ../../gallery/lines_bars_and_markers/images/sphx_glr_scatter_demo2_001.png
231196
:target: ../../gallery/lines_bars_and_markers/scatter_demo2.html
232197
:align: center
233-
:scale: 50
234-
235-
Scatter Demo2
236-
237198
238199
.. _screenshots_slider_demo:
239200
@@ -248,7 +209,6 @@
248209
.. figure:: ../../gallery/widgets/images/sphx_glr_slider_demo_001.png
249210
:target: ../../gallery/widgets/slider_demo.html
250211
:align: center
251-
:scale: 50
252212
253213
Slider and radio-button GUI.
254214
@@ -264,9 +224,6 @@
264224
.. figure:: ../../gallery/lines_bars_and_markers/images/sphx_glr_fill_001.png
265225
:target: ../../gallery/lines_bars_and_markers/fill.html
266226
:align: center
267-
:scale: 50
268-
269-
Fill
270227
271228
Thanks to Andrew Straw for adding this function.
272229
@@ -281,9 +238,6 @@
281238
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_date_001.png
282239
:target: ../../gallery/text_labels_and_annotations/date.html
283240
:align: center
284-
:scale: 50
285-
286-
Date
287241
288242
See :mod:`matplotlib.ticker` and :mod:`matplotlib.dates` for details and usage.
289243
@@ -301,9 +255,6 @@
301255
.. figure:: ../../gallery/scales/images/sphx_glr_log_demo_001.png
302256
:target: ../../gallery/scales/log_demo.html
303257
:align: center
304-
:scale: 50
305-
306-
Log Demo
307258
308259
Thanks to Andrew Straw, Darren Dale and Gregory Lielens for contributions
309260
log-scaling infrastructure.
@@ -318,9 +269,6 @@
318269
.. figure:: ../../gallery/pie_and_polar_charts/images/sphx_glr_polar_demo_001.png
319270
:target: ../../gallery/pie_and_polar_charts/polar_demo.html
320271
:align: center
321-
:scale: 50
322-
323-
Polar Demo
324272
325273
.. _screenshots_legend_demo:
326274
@@ -335,7 +283,6 @@
335283
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_legend_001.png
336284
:target: ../../gallery/text_labels_and_annotations/legend.html
337285
:align: center
338-
:scale: 50
339286
340287
Legend
341288
@@ -355,9 +302,6 @@
355302
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_mathtext_examples_001.png
356303
:target: ../../gallery/text_labels_and_annotations/mathtext_examples.html
357304
:align: center
358-
:scale: 50
359-
360-
Mathtext Examples
361305
362306
Matplotlib's mathtext infrastructure is an independent implementation and
363307
does not require TeX or any external packages installed on your computer. See
@@ -376,9 +320,6 @@
376320
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_tex_demo_001.png
377321
:target: ../../gallery/text_labels_and_annotations/tex_demo.html
378322
:align: center
379-
:scale: 50
380-
381-
Tex Demo
382323
383324
.. _screenshots_eeg_demo:
384325
@@ -390,6 +331,7 @@
390331
<https://github.com/nipy/pbrain>`__.
391332
392333
.. image:: ../../_static/eeg_small.png
334+
:align: center
393335
394336
The lower axes uses :func:`~matplotlib.pyplot.specgram`
395337
to plot the spectrogram of one of the EEG channels.
@@ -411,9 +353,6 @@
411353
.. figure:: ../../gallery/showcase/images/sphx_glr_xkcd_001.png
412354
:target: ../../gallery/showcase/xkcd.html
413355
:align: center
414-
:scale: 50
415-
416-
xkcd
417356
418357
Subplot example
419358
===============

0 commit comments

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