Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99a0b9a

Browse files
committed
DOC: Use single column for multiple figures in examples
This overrides sphinx-gallery's CSS to make multiple images appear individually, which AFAICT looks better for all of our examples. It affects the following: - examples/axes_grid1/demo_axes_rgb.py - examples/color/colormap_reference.py - examples/color/named_colors.py - examples/event_handling/pick_event_demo.py - examples/event_handling/zoom_window.py - examples/images_contours_and_fields/barb_demo.py - examples/images_contours_and_fields/contourf_demo.py - examples/images_contours_and_fields/image_demo.py - examples/images_contours_and_fields/shading_example.py - examples/lines_bars_and_markers/fill_betweenx_demo.py - examples/specialty_plots/advanced_hillshading.py - examples/statistics/boxplot_demo.py - examples/style_sheets/style_sheets_reference.py - examples/text_labels_and_annotations/accented_text.py - examples/text_labels_and_annotations/annotation_demo.py - examples/ticks/tick-formatters.py - examples/userdemo/demo_gridspec03.py - tutorials/colors/colormaps.py - tutorials/colors/colors.py
1 parent 59732ac commit 99a0b9a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/_static/mpl.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ div.sphx-glr-download a:hover {
237237
background-color: #BCD4DF;
238238
}
239239

240+
/* Do not fold multiple figures in examples into two column layout. */
241+
img.sphx-glr-multi-img {
242+
max-width: 100%;
243+
}
244+
240245
table.property-table th,
241246
table.property-table td {
242247
padding: 4px 10px;

0 commit comments

Comments
 (0)