:orphan:
.. _sphx_glr_gallery:
.. _examples-index:
.. _gallery:
=======
Gallery
=======
This gallery contains examples of the many things you can do with
Matplotlib. Click on any image to see the full image and source code.
For longer tutorials, see our `tutorials page <../tutorials/index.html>`_.
You can also find `external resources <../resources/index.html>`_ and
a `FAQ <../faq/index.html>`_ in our `user guide <../contents.html>`_.
.. raw:: html
.. _sphx_glr_gallery_lines_bars_and_markers:
.. _lines_bars_and_markers_example:
Lines, bars and markers
=======================
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_bar_stacked_thumb.png
:alt: Stacked bar chart
:ref:`sphx_glr_gallery_lines_bars_and_markers_bar_stacked.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/bar_stacked
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_barchart_thumb.png
:alt: Grouped bar chart with labels
:ref:`sphx_glr_gallery_lines_bars_and_markers_barchart.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/barchart
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_barh_thumb.png
:alt: Horizontal bar chart
:ref:`sphx_glr_gallery_lines_bars_and_markers_barh.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/barh
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_broken_barh_thumb.png
:alt: Broken Barh
:ref:`sphx_glr_gallery_lines_bars_and_markers_broken_barh.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/broken_barh
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_categorical_variables_thumb.png
:alt: Plotting categorical variables
:ref:`sphx_glr_gallery_lines_bars_and_markers_categorical_variables.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/categorical_variables
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_cohere_thumb.png
:alt: Plotting the coherence of two signals
:ref:`sphx_glr_gallery_lines_bars_and_markers_cohere.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/cohere
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_csd_demo_thumb.png
:alt: CSD Demo
:ref:`sphx_glr_gallery_lines_bars_and_markers_csd_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/csd_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_curve_error_band_thumb.png
:alt: Curve with error band
:ref:`sphx_glr_gallery_lines_bars_and_markers_curve_error_band.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/curve_error_band
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_errorbar_limits_simple_thumb.png
:alt: Errorbar limit selection
:ref:`sphx_glr_gallery_lines_bars_and_markers_errorbar_limits_simple.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/errorbar_limits_simple
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_errorbar_subsample_thumb.png
:alt: Errorbar subsampling
:ref:`sphx_glr_gallery_lines_bars_and_markers_errorbar_subsample.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/errorbar_subsample
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_eventcollection_demo_thumb.png
:alt: EventCollection Demo
:ref:`sphx_glr_gallery_lines_bars_and_markers_eventcollection_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/eventcollection_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_eventplot_demo_thumb.png
:alt: Eventplot Demo
:ref:`sphx_glr_gallery_lines_bars_and_markers_eventplot_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/eventplot_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_fill_thumb.png
:alt: Filled polygon
:ref:`sphx_glr_gallery_lines_bars_and_markers_fill.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/fill
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_fill_between_demo_thumb.png
:alt: Filling the area between lines
:ref:`sphx_glr_gallery_lines_bars_and_markers_fill_between_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/fill_between_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_fill_betweenx_demo_thumb.png
:alt: Fill Betweenx Demo
:ref:`sphx_glr_gallery_lines_bars_and_markers_fill_betweenx_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/fill_betweenx_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_filled_step_thumb.png
:alt: Hatch-filled histograms
:ref:`sphx_glr_gallery_lines_bars_and_markers_filled_step.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/filled_step
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_gradient_bar_thumb.png
:alt: Bar chart with gradients
:ref:`sphx_glr_gallery_lines_bars_and_markers_gradient_bar.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/gradient_bar
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_horizontal_barchart_distribution_thumb.png
:alt: Discrete distribution as horizontal bar chart
:ref:`sphx_glr_gallery_lines_bars_and_markers_horizontal_barchart_distribution.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/horizontal_barchart_distribution
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_joinstyle_thumb.png
:alt: Join styles and cap styles
:ref:`sphx_glr_gallery_lines_bars_and_markers_joinstyle.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/joinstyle
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_line_demo_dash_control_thumb.png
:alt: Customizing dashed line styles
:ref:`sphx_glr_gallery_lines_bars_and_markers_line_demo_dash_control.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/line_demo_dash_control
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_linestyles_thumb.png
:alt: Linestyles
:ref:`sphx_glr_gallery_lines_bars_and_markers_linestyles.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/linestyles
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_marker_reference_thumb.png
:alt: Marker reference
:ref:`sphx_glr_gallery_lines_bars_and_markers_marker_reference.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/marker_reference
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_markevery_demo_thumb.png
:alt: Markevery Demo
:ref:`sphx_glr_gallery_lines_bars_and_markers_markevery_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/markevery_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_markevery_prop_cycle_thumb.png
:alt: prop_cycle property markevery in rcParams
:ref:`sphx_glr_gallery_lines_bars_and_markers_markevery_prop_cycle.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/markevery_prop_cycle
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_masked_demo_thumb.png
:alt: Plotting masked and NaN values
:ref:`sphx_glr_gallery_lines_bars_and_markers_masked_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/masked_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_multicolored_line_thumb.png
:alt: Multicolored lines
:ref:`sphx_glr_gallery_lines_bars_and_markers_multicolored_line.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/multicolored_line
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_psd_demo_thumb.png
:alt: Psd Demo
:ref:`sphx_glr_gallery_lines_bars_and_markers_psd_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/psd_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_custom_symbol_thumb.png
:alt: Scatter Custom Symbol
:ref:`sphx_glr_gallery_lines_bars_and_markers_scatter_custom_symbol.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/scatter_custom_symbol
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_demo2_thumb.png
:alt: Scatter Demo2
:ref:`sphx_glr_gallery_lines_bars_and_markers_scatter_demo2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/scatter_demo2
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_hist_thumb.png
:alt: Scatter plot with histograms
:ref:`sphx_glr_gallery_lines_bars_and_markers_scatter_hist.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/scatter_hist
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_masked_thumb.png
:alt: Scatter Masked
:ref:`sphx_glr_gallery_lines_bars_and_markers_scatter_masked.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/scatter_masked
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_piecharts_thumb.png
:alt: Scatter plot with pie chart markers
:ref:`sphx_glr_gallery_lines_bars_and_markers_scatter_piecharts.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/scatter_piecharts
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_star_poly_thumb.png
:alt: Marker examples
:ref:`sphx_glr_gallery_lines_bars_and_markers_scatter_star_poly.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/scatter_star_poly
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_symbol_thumb.png
:alt: Scatter Symbol
:ref:`sphx_glr_gallery_lines_bars_and_markers_scatter_symbol.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/scatter_symbol
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_with_legend_thumb.png
:alt: Scatter plots with a legend
:ref:`sphx_glr_gallery_lines_bars_and_markers_scatter_with_legend.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/scatter_with_legend
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_simple_plot_thumb.png
:alt: Simple Plot
:ref:`sphx_glr_gallery_lines_bars_and_markers_simple_plot.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/simple_plot
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_span_regions_thumb.png
:alt: Using span_where
:ref:`sphx_glr_gallery_lines_bars_and_markers_span_regions.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/span_regions
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_spectrum_demo_thumb.png
:alt: Spectrum Representations
:ref:`sphx_glr_gallery_lines_bars_and_markers_spectrum_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/spectrum_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_stackplot_demo_thumb.png
:alt: Stackplots and streamgraphs
:ref:`sphx_glr_gallery_lines_bars_and_markers_stackplot_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/stackplot_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_stem_plot_thumb.png
:alt: Stem Plot
:ref:`sphx_glr_gallery_lines_bars_and_markers_stem_plot.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/stem_plot
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_step_demo_thumb.png
:alt: Step Demo
:ref:`sphx_glr_gallery_lines_bars_and_markers_step_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/step_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_timeline_thumb.png
:alt: Creating a timeline with lines, dates, and text
:ref:`sphx_glr_gallery_lines_bars_and_markers_timeline.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/timeline
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_vline_hline_demo_thumb.png
:alt: hlines and vlines
:ref:`sphx_glr_gallery_lines_bars_and_markers_vline_hline_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/vline_hline_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_xcorr_acorr_demo_thumb.png
:alt: Cross- and Auto-Correlation Demo
:ref:`sphx_glr_gallery_lines_bars_and_markers_xcorr_acorr_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/lines_bars_and_markers/xcorr_acorr_demo
.. raw:: html
.. _sphx_glr_gallery_images_contours_and_fields:
.. _images_contours_and_fields_examples:
Images, contours and fields
===========================
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_affine_image_thumb.png
:alt: Affine transform of an image
:ref:`sphx_glr_gallery_images_contours_and_fields_affine_image.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/affine_image
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_barb_demo_thumb.png
:alt: Barb Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_barb_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/barb_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_barcode_demo_thumb.png
:alt: Barcode Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_barcode_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/barcode_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_contour_corner_mask_thumb.png
:alt: Contour Corner Mask
:ref:`sphx_glr_gallery_images_contours_and_fields_contour_corner_mask.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/contour_corner_mask
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_contour_demo_thumb.png
:alt: Contour Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_contour_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/contour_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_contour_image_thumb.png
:alt: Contour Image
:ref:`sphx_glr_gallery_images_contours_and_fields_contour_image.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/contour_image
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_contour_label_demo_thumb.png
:alt: Contour Label Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_contour_label_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/contour_label_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_contourf_demo_thumb.png
:alt: Contourf Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_contourf_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/contourf_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_contourf_hatching_thumb.png
:alt: Contourf Hatching
:ref:`sphx_glr_gallery_images_contours_and_fields_contourf_hatching.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/contourf_hatching
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_contourf_log_thumb.png
:alt: Contourf and log color scale
:ref:`sphx_glr_gallery_images_contours_and_fields_contourf_log.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/contourf_log
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_demo_bboximage_thumb.png
:alt: BboxImage Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_demo_bboximage.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/demo_bboximage
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_figimage_demo_thumb.png
:alt: Figimage Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_figimage_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/figimage_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_annotated_heatmap_thumb.png
:alt: Creating annotated heatmaps
:ref:`sphx_glr_gallery_images_contours_and_fields_image_annotated_heatmap.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/image_annotated_heatmap
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_antialiasing_thumb.png
:alt: Image antialiasing
:ref:`sphx_glr_gallery_images_contours_and_fields_image_antialiasing.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/image_antialiasing
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_clip_path_thumb.png
:alt: Clipping images with patches
:ref:`sphx_glr_gallery_images_contours_and_fields_image_clip_path.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/image_clip_path
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_demo_thumb.png
:alt: Image Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_image_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/image_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_masked_thumb.png
:alt: Image Masked
:ref:`sphx_glr_gallery_images_contours_and_fields_image_masked.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/image_masked
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_nonuniform_thumb.png
:alt: Image Nonuniform
:ref:`sphx_glr_gallery_images_contours_and_fields_image_nonuniform.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/image_nonuniform
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_transparency_blend_thumb.png
:alt: Blend transparency with color in 2-D images
:ref:`sphx_glr_gallery_images_contours_and_fields_image_transparency_blend.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/image_transparency_blend
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_zcoord_thumb.png
:alt: Modifying the coordinate formatter
:ref:`sphx_glr_gallery_images_contours_and_fields_image_zcoord.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/image_zcoord
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_interpolation_methods_thumb.png
:alt: Interpolations for imshow
:ref:`sphx_glr_gallery_images_contours_and_fields_interpolation_methods.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/interpolation_methods
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_irregulardatagrid_thumb.png
:alt: Contour plot of irregularly spaced data
:ref:`sphx_glr_gallery_images_contours_and_fields_irregulardatagrid.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/irregulardatagrid
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_layer_images_thumb.png
:alt: Layer Images
:ref:`sphx_glr_gallery_images_contours_and_fields_layer_images.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/layer_images
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_matshow_thumb.png
:alt: Matshow
:ref:`sphx_glr_gallery_images_contours_and_fields_matshow.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/matshow
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_multi_image_thumb.png
:alt: Multi Image
:ref:`sphx_glr_gallery_images_contours_and_fields_multi_image.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/multi_image
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_pcolor_demo_thumb.png
:alt: Pcolor Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_pcolor_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/pcolor_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_pcolormesh_grids_thumb.png
:alt: pcolormesh grids and shading
:ref:`sphx_glr_gallery_images_contours_and_fields_pcolormesh_grids.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/pcolormesh_grids
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_pcolormesh_levels_thumb.png
:alt: pcolormesh
:ref:`sphx_glr_gallery_images_contours_and_fields_pcolormesh_levels.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/pcolormesh_levels
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_plot_streamplot_thumb.png
:alt: Streamplot
:ref:`sphx_glr_gallery_images_contours_and_fields_plot_streamplot.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/plot_streamplot
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_quadmesh_demo_thumb.png
:alt: QuadMesh Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_quadmesh_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/quadmesh_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_quiver_demo_thumb.png
:alt: Advanced quiver and quiverkey functions
:ref:`sphx_glr_gallery_images_contours_and_fields_quiver_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/quiver_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_quiver_simple_demo_thumb.png
:alt: Quiver Simple Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_quiver_simple_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/quiver_simple_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_shading_example_thumb.png
:alt: Shading example
:ref:`sphx_glr_gallery_images_contours_and_fields_shading_example.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/shading_example
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_specgram_demo_thumb.png
:alt: Spectrogram Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_specgram_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/specgram_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_spy_demos_thumb.png
:alt: Spy Demos
:ref:`sphx_glr_gallery_images_contours_and_fields_spy_demos.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/spy_demos
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_tricontour_demo_thumb.png
:alt: Tricontour Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_tricontour_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/tricontour_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_tricontour_smooth_delaunay_thumb.png
:alt: Tricontour Smooth Delaunay
:ref:`sphx_glr_gallery_images_contours_and_fields_tricontour_smooth_delaunay.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/tricontour_smooth_delaunay
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_tricontour_smooth_user_thumb.png
:alt: Tricontour Smooth User
:ref:`sphx_glr_gallery_images_contours_and_fields_tricontour_smooth_user.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/tricontour_smooth_user
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_trigradient_demo_thumb.png
:alt: Trigradient Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_trigradient_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/trigradient_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_triinterp_demo_thumb.png
:alt: Triinterp Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_triinterp_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/triinterp_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_tripcolor_demo_thumb.png
:alt: Tripcolor Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_tripcolor_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/tripcolor_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_triplot_demo_thumb.png
:alt: Triplot Demo
:ref:`sphx_glr_gallery_images_contours_and_fields_triplot_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/triplot_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_watermark_image_thumb.png
:alt: Watermark image
:ref:`sphx_glr_gallery_images_contours_and_fields_watermark_image.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/images_contours_and_fields/watermark_image
.. raw:: html
.. _sphx_glr_gallery_subplots_axes_and_figures:
.. _subplots_axes_and_figures_examples:
Subplots, axes and figures
==========================
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_align_labels_demo_thumb.png
:alt: Aligning Labels
:ref:`sphx_glr_gallery_subplots_axes_and_figures_align_labels_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/align_labels_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_axes_box_aspect_thumb.png
:alt: Axes box aspect
:ref:`sphx_glr_gallery_subplots_axes_and_figures_axes_box_aspect.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/axes_box_aspect
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_axes_demo_thumb.png
:alt: Axes Demo
:ref:`sphx_glr_gallery_subplots_axes_and_figures_axes_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/axes_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_axes_margins_thumb.png
:alt: Controlling view limits using margins and sticky_edges
:ref:`sphx_glr_gallery_subplots_axes_and_figures_axes_margins.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/axes_margins
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_axes_props_thumb.png
:alt: Axes Props
:ref:`sphx_glr_gallery_subplots_axes_and_figures_axes_props.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/axes_props
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_axes_zoom_effect_thumb.png
:alt: Axes Zoom Effect
:ref:`sphx_glr_gallery_subplots_axes_and_figures_axes_zoom_effect.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/axes_zoom_effect
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_axhspan_demo_thumb.png
:alt: axhspan Demo
:ref:`sphx_glr_gallery_subplots_axes_and_figures_axhspan_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/axhspan_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_axis_equal_demo_thumb.png
:alt: Axis Equal Demo
:ref:`sphx_glr_gallery_subplots_axes_and_figures_axis_equal_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/axis_equal_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_axis_labels_demo_thumb.png
:alt: Axis Label Position
:ref:`sphx_glr_gallery_subplots_axes_and_figures_axis_labels_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/axis_labels_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_broken_axis_thumb.png
:alt: Broken Axis
:ref:`sphx_glr_gallery_subplots_axes_and_figures_broken_axis.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/broken_axis
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_colorbar_placement_thumb.png
:alt: Placing Colorbars
:ref:`sphx_glr_gallery_subplots_axes_and_figures_colorbar_placement.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/colorbar_placement
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_custom_figure_class_thumb.png
:alt: Custom Figure subclasses
:ref:`sphx_glr_gallery_subplots_axes_and_figures_custom_figure_class.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/custom_figure_class
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_demo_constrained_layout_thumb.png
:alt: Resizing axes with constrained layout
:ref:`sphx_glr_gallery_subplots_axes_and_figures_demo_constrained_layout.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/demo_constrained_layout
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_demo_tight_layout_thumb.png
:alt: Resizing axes with tight layout
:ref:`sphx_glr_gallery_subplots_axes_and_figures_demo_tight_layout.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/demo_tight_layout
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_fahrenheit_celsius_scales_thumb.png
:alt: Different scales on the same axes
:ref:`sphx_glr_gallery_subplots_axes_and_figures_fahrenheit_celsius_scales.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/fahrenheit_celsius_scales
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_figure_title_thumb.png
:alt: Figure Title
:ref:`sphx_glr_gallery_subplots_axes_and_figures_figure_title.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/figure_title
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_ganged_plots_thumb.png
:alt: Creating adjacent subplots
:ref:`sphx_glr_gallery_subplots_axes_and_figures_ganged_plots.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/ganged_plots
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_geo_demo_thumb.png
:alt: Geographic Projections
:ref:`sphx_glr_gallery_subplots_axes_and_figures_geo_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/geo_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_gridspec_and_subplots_thumb.png
:alt: Combining two subplots using subplots and GridSpec
:ref:`sphx_glr_gallery_subplots_axes_and_figures_gridspec_and_subplots.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/gridspec_and_subplots
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_gridspec_multicolumn_thumb.png
:alt: Using Gridspec to make multi-column/row subplot layouts
:ref:`sphx_glr_gallery_subplots_axes_and_figures_gridspec_multicolumn.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/gridspec_multicolumn
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_gridspec_nested_thumb.png
:alt: Nested Gridspecs
:ref:`sphx_glr_gallery_subplots_axes_and_figures_gridspec_nested.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/gridspec_nested
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_invert_axes_thumb.png
:alt: Invert Axes
:ref:`sphx_glr_gallery_subplots_axes_and_figures_invert_axes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/invert_axes
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_multiple_figs_demo_thumb.png
:alt: Multiple Figs Demo
:ref:`sphx_glr_gallery_subplots_axes_and_figures_multiple_figs_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/multiple_figs_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_secondary_axis_thumb.png
:alt: Secondary Axis
:ref:`sphx_glr_gallery_subplots_axes_and_figures_secondary_axis.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/secondary_axis
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_shared_axis_demo_thumb.png
:alt: Shared Axis Demo
:ref:`sphx_glr_gallery_subplots_axes_and_figures_shared_axis_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/shared_axis_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_subplot_thumb.png
:alt: Multiple subplots
:ref:`sphx_glr_gallery_subplots_axes_and_figures_subplot.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/subplot
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_subplot_demo_thumb.png
:alt: Basic Subplot Demo
:ref:`sphx_glr_gallery_subplots_axes_and_figures_subplot_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/subplot_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_subplot_toolbar_thumb.png
:alt: Subplot Toolbar
:ref:`sphx_glr_gallery_subplots_axes_and_figures_subplot_toolbar.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/subplot_toolbar
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_subplots_adjust_thumb.png
:alt: Subplots Adjust
:ref:`sphx_glr_gallery_subplots_axes_and_figures_subplots_adjust.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/subplots_adjust
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_subplots_demo_thumb.png
:alt: Creating multiple subplots using ``plt.subplots``
:ref:`sphx_glr_gallery_subplots_axes_and_figures_subplots_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/subplots_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_two_scales_thumb.png
:alt: Plots with different scales
:ref:`sphx_glr_gallery_subplots_axes_and_figures_two_scales.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/two_scales
.. raw:: html
.. only:: html
.. figure:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_zoom_inset_axes_thumb.png
:alt: Zoom region inset axes
:ref:`sphx_glr_gallery_subplots_axes_and_figures_zoom_inset_axes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/subplots_axes_and_figures/zoom_inset_axes
.. raw:: html
.. _sphx_glr_gallery_statistics:
.. _statistics_examples:
Statistics
==========
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_barchart_demo_thumb.png
:alt: Percentiles as horizontal bar chart
:ref:`sphx_glr_gallery_statistics_barchart_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/barchart_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_boxplot_thumb.png
:alt: Artist customization in box plots
:ref:`sphx_glr_gallery_statistics_boxplot.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/boxplot
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_boxplot_color_thumb.png
:alt: Box plots with custom fill colors
:ref:`sphx_glr_gallery_statistics_boxplot_color.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/boxplot_color
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_boxplot_demo_thumb.png
:alt: Boxplots
:ref:`sphx_glr_gallery_statistics_boxplot_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/boxplot_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_boxplot_vs_violin_thumb.png
:alt: Box plot vs. violin plot comparison
:ref:`sphx_glr_gallery_statistics_boxplot_vs_violin.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/boxplot_vs_violin
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_bxp_thumb.png
:alt: Boxplot drawer function
:ref:`sphx_glr_gallery_statistics_bxp.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/bxp
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_confidence_ellipse_thumb.png
:alt: Plot a confidence ellipse of a two-dimensional dataset
:ref:`sphx_glr_gallery_statistics_confidence_ellipse.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/confidence_ellipse
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_customized_violin_thumb.png
:alt: Violin plot customization
:ref:`sphx_glr_gallery_statistics_customized_violin.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/customized_violin
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_errorbar_thumb.png
:alt: Errorbar function
:ref:`sphx_glr_gallery_statistics_errorbar.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/errorbar
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_errorbar_features_thumb.png
:alt: Different ways of specifying error bars
:ref:`sphx_glr_gallery_statistics_errorbar_features.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/errorbar_features
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_errorbar_limits_thumb.png
:alt: Including upper and lower limits in error bars
:ref:`sphx_glr_gallery_statistics_errorbar_limits.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/errorbar_limits
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_errorbars_and_boxes_thumb.png
:alt: Creating boxes from error bars using PatchCollection
:ref:`sphx_glr_gallery_statistics_errorbars_and_boxes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/errorbars_and_boxes
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_hexbin_demo_thumb.png
:alt: Hexbin Demo
:ref:`sphx_glr_gallery_statistics_hexbin_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/hexbin_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_hist_thumb.png
:alt: Histograms
:ref:`sphx_glr_gallery_statistics_hist.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/hist
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_histogram_cumulative_thumb.png
:alt: Using histograms to plot a cumulative distribution
:ref:`sphx_glr_gallery_statistics_histogram_cumulative.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/histogram_cumulative
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_histogram_features_thumb.png
:alt: Some features of the histogram (hist) function
:ref:`sphx_glr_gallery_statistics_histogram_features.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/histogram_features
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_histogram_histtypes_thumb.png
:alt: Demo of the histogram function's different ``histtype`` settings
:ref:`sphx_glr_gallery_statistics_histogram_histtypes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/histogram_histtypes
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_histogram_multihist_thumb.png
:alt: The histogram (hist) function with multiple data sets
:ref:`sphx_glr_gallery_statistics_histogram_multihist.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/histogram_multihist
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_multiple_histograms_side_by_side_thumb.png
:alt: Producing multiple histograms side by side
:ref:`sphx_glr_gallery_statistics_multiple_histograms_side_by_side.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/multiple_histograms_side_by_side
.. raw:: html
.. only:: html
.. figure:: /gallery/statistics/images/thumb/sphx_glr_violinplot_thumb.png
:alt: Violin plot basics
:ref:`sphx_glr_gallery_statistics_violinplot.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/statistics/violinplot
.. raw:: html
.. _sphx_glr_gallery_pie_and_polar_charts:
.. _pie_and_polar_charts:
Pie and polar charts
====================
.. raw:: html
.. only:: html
.. figure:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_pie_features_thumb.png
:alt: Basic pie chart
:ref:`sphx_glr_gallery_pie_and_polar_charts_pie_features.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pie_and_polar_charts/pie_features
.. raw:: html
.. only:: html
.. figure:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_pie_demo2_thumb.png
:alt: Pie Demo2
:ref:`sphx_glr_gallery_pie_and_polar_charts_pie_demo2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pie_and_polar_charts/pie_demo2
.. raw:: html
.. only:: html
.. figure:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_bar_of_pie_thumb.png
:alt: Bar of pie
:ref:`sphx_glr_gallery_pie_and_polar_charts_bar_of_pie.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pie_and_polar_charts/bar_of_pie
.. raw:: html
.. only:: html
.. figure:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_nested_pie_thumb.png
:alt: Nested pie charts
:ref:`sphx_glr_gallery_pie_and_polar_charts_nested_pie.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pie_and_polar_charts/nested_pie
.. raw:: html
.. only:: html
.. figure:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_pie_and_donut_labels_thumb.png
:alt: Labeling a pie and a donut
:ref:`sphx_glr_gallery_pie_and_polar_charts_pie_and_donut_labels.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pie_and_polar_charts/pie_and_donut_labels
.. raw:: html
.. only:: html
.. figure:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_polar_bar_thumb.png
:alt: Bar chart on polar axis
:ref:`sphx_glr_gallery_pie_and_polar_charts_polar_bar.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pie_and_polar_charts/polar_bar
.. raw:: html
.. only:: html
.. figure:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_polar_demo_thumb.png
:alt: Polar Demo
:ref:`sphx_glr_gallery_pie_and_polar_charts_polar_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pie_and_polar_charts/polar_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_polar_legend_thumb.png
:alt: Polar Legend
:ref:`sphx_glr_gallery_pie_and_polar_charts_polar_legend.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pie_and_polar_charts/polar_legend
.. raw:: html
.. only:: html
.. figure:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_polar_scatter_thumb.png
:alt: Scatter plot on polar axis
:ref:`sphx_glr_gallery_pie_and_polar_charts_polar_scatter.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pie_and_polar_charts/polar_scatter
.. raw:: html
.. _sphx_glr_gallery_text_labels_and_annotations:
.. _text_labels_and_annotations:
Text, labels and annotations
============================
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_accented_text_thumb.png
:alt: Using accented text in matplotlib
:ref:`sphx_glr_gallery_text_labels_and_annotations_accented_text.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/accented_text
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_annotation_demo_thumb.png
:alt: Annotating Plots
:ref:`sphx_glr_gallery_text_labels_and_annotations_annotation_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/annotation_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_arrow_demo_thumb.png
:alt: Arrow Demo
:ref:`sphx_glr_gallery_text_labels_and_annotations_arrow_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/arrow_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_arrow_simple_demo_thumb.png
:alt: Arrow Simple Demo
:ref:`sphx_glr_gallery_text_labels_and_annotations_arrow_simple_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/arrow_simple_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_autowrap_thumb.png
:alt: Auto-wrapping text
:ref:`sphx_glr_gallery_text_labels_and_annotations_autowrap.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/autowrap
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_custom_legends_thumb.png
:alt: Composing Custom Legends
:ref:`sphx_glr_gallery_text_labels_and_annotations_custom_legends.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/custom_legends
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_date_thumb.png
:alt: Date tick labels
:ref:`sphx_glr_gallery_text_labels_and_annotations_date.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/date
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_date_index_formatter_thumb.png
:alt: Custom tick formatter for time series
:ref:`sphx_glr_gallery_text_labels_and_annotations_date_index_formatter.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/date_index_formatter
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_demo_annotation_box_thumb.png
:alt: Demo Annotation Box
:ref:`sphx_glr_gallery_text_labels_and_annotations_demo_annotation_box.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/demo_annotation_box
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_demo_text_path_thumb.png
:alt: Demo Text Path
:ref:`sphx_glr_gallery_text_labels_and_annotations_demo_text_path.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/demo_text_path
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_demo_text_rotation_mode_thumb.png
:alt: Demo Text Rotation Mode
:ref:`sphx_glr_gallery_text_labels_and_annotations_demo_text_rotation_mode.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/demo_text_rotation_mode
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_dfrac_demo_thumb.png
:alt: The difference between \\dfrac and \\frac
:ref:`sphx_glr_gallery_text_labels_and_annotations_dfrac_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/dfrac_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_engineering_formatter_thumb.png
:alt: Labeling ticks using engineering notation
:ref:`sphx_glr_gallery_text_labels_and_annotations_engineering_formatter.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/engineering_formatter
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fancyarrow_demo_thumb.png
:alt: Fancyarrow Demo
:ref:`sphx_glr_gallery_text_labels_and_annotations_fancyarrow_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/fancyarrow_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fancytextbox_demo_thumb.png
:alt: Fancytextbox Demo
:ref:`sphx_glr_gallery_text_labels_and_annotations_fancytextbox_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/fancytextbox_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_figlegend_demo_thumb.png
:alt: Figure legend demo
:ref:`sphx_glr_gallery_text_labels_and_annotations_figlegend_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/figlegend_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_font_family_rc_sgskip_thumb.png
:alt: Configuring the font family
:ref:`sphx_glr_gallery_text_labels_and_annotations_font_family_rc_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/font_family_rc_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_font_file_thumb.png
:alt: Using a ttf font file in Matplotlib
:ref:`sphx_glr_gallery_text_labels_and_annotations_font_file.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/font_file
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_font_table_thumb.png
:alt: Font table
:ref:`sphx_glr_gallery_text_labels_and_annotations_font_table.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/font_table
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fonts_demo_thumb.png
:alt: Fonts demo (object-oriented style)
:ref:`sphx_glr_gallery_text_labels_and_annotations_fonts_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/fonts_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fonts_demo_kw_thumb.png
:alt: Fonts demo (kwargs)
:ref:`sphx_glr_gallery_text_labels_and_annotations_fonts_demo_kw.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/fonts_demo_kw
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_legend_thumb.png
:alt: Legend using pre-defined labels
:ref:`sphx_glr_gallery_text_labels_and_annotations_legend.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/legend
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_legend_demo_thumb.png
:alt: Legend Demo
:ref:`sphx_glr_gallery_text_labels_and_annotations_legend_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/legend_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_line_with_text_thumb.png
:alt: Artist within an artist
:ref:`sphx_glr_gallery_text_labels_and_annotations_line_with_text.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/line_with_text
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_asarray_thumb.png
:alt: A mathtext image as numpy array
:ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_asarray.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/mathtext_asarray
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_demo_thumb.png
:alt: Mathtext Demo
:ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/mathtext_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_examples_thumb.png
:alt: Mathtext Examples
:ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_examples.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/mathtext_examples
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_multiline_thumb.png
:alt: Multiline
:ref:`sphx_glr_gallery_text_labels_and_annotations_multiline.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/multiline
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_rainbow_text_thumb.png
:alt: Rainbow text
:ref:`sphx_glr_gallery_text_labels_and_annotations_rainbow_text.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/rainbow_text
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_stix_fonts_demo_thumb.png
:alt: STIX Fonts Demo
:ref:`sphx_glr_gallery_text_labels_and_annotations_stix_fonts_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/stix_fonts_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_tex_demo_thumb.png
:alt: Rendering math equations using TeX
:ref:`sphx_glr_gallery_text_labels_and_annotations_tex_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/tex_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_alignment_thumb.png
:alt: Precise text layout
:ref:`sphx_glr_gallery_text_labels_and_annotations_text_alignment.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/text_alignment
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_fontdict_thumb.png
:alt: Controlling style of text and labels using a dictionary
:ref:`sphx_glr_gallery_text_labels_and_annotations_text_fontdict.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/text_fontdict
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_rotation_thumb.png
:alt: Default text rotation demonstration
:ref:`sphx_glr_gallery_text_labels_and_annotations_text_rotation.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/text_rotation
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_rotation_relative_to_line_thumb.png
:alt: Text Rotation Relative To Line
:ref:`sphx_glr_gallery_text_labels_and_annotations_text_rotation_relative_to_line.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/text_rotation_relative_to_line
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_titles_demo_thumb.png
:alt: Title positioning
:ref:`sphx_glr_gallery_text_labels_and_annotations_titles_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/titles_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_unicode_minus_thumb.png
:alt: Unicode minus
:ref:`sphx_glr_gallery_text_labels_and_annotations_unicode_minus.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/unicode_minus
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_usetex_baseline_test_thumb.png
:alt: Usetex Baseline Test
:ref:`sphx_glr_gallery_text_labels_and_annotations_usetex_baseline_test.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/usetex_baseline_test
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_usetex_fonteffects_thumb.png
:alt: Usetex Fonteffects
:ref:`sphx_glr_gallery_text_labels_and_annotations_usetex_fonteffects.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/usetex_fonteffects
.. raw:: html
.. only:: html
.. figure:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_watermark_text_thumb.png
:alt: Text watermark
:ref:`sphx_glr_gallery_text_labels_and_annotations_watermark_text.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/text_labels_and_annotations/watermark_text
.. raw:: html
.. _sphx_glr_gallery_pyplots:
.. _pyplots_examples:
Pyplot
======
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_align_ylabels_thumb.png
:alt: Align y-labels
:ref:`sphx_glr_gallery_pyplots_align_ylabels.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/align_ylabels
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_annotate_transform_thumb.png
:alt: Annotate Transform
:ref:`sphx_glr_gallery_pyplots_annotate_transform.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/annotate_transform
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_annotation_basic_thumb.png
:alt: Annotating a plot
:ref:`sphx_glr_gallery_pyplots_annotation_basic.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/annotation_basic
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_annotation_polar_thumb.png
:alt: Annotation Polar
:ref:`sphx_glr_gallery_pyplots_annotation_polar.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/annotation_polar
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_auto_subplots_adjust_thumb.png
:alt: Auto Subplots Adjust
:ref:`sphx_glr_gallery_pyplots_auto_subplots_adjust.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/auto_subplots_adjust
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_axline_thumb.png
:alt: Infinite lines
:ref:`sphx_glr_gallery_pyplots_axline.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/axline
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_boxplot_demo_pyplot_thumb.png
:alt: Boxplot Demo
:ref:`sphx_glr_gallery_pyplots_boxplot_demo_pyplot.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/boxplot_demo_pyplot
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_dollar_ticks_thumb.png
:alt: Dollar Ticks
:ref:`sphx_glr_gallery_pyplots_dollar_ticks.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/dollar_ticks
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_fig_axes_customize_simple_thumb.png
:alt: Fig Axes Customize Simple
:ref:`sphx_glr_gallery_pyplots_fig_axes_customize_simple.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/fig_axes_customize_simple
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_fig_axes_labels_simple_thumb.png
:alt: Simple axes labels
:ref:`sphx_glr_gallery_pyplots_fig_axes_labels_simple.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/fig_axes_labels_simple
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_fig_x_thumb.png
:alt: Adding lines to figures
:ref:`sphx_glr_gallery_pyplots_fig_x.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/fig_x
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_formatstr_thumb.png
:alt: plot() format string
:ref:`sphx_glr_gallery_pyplots_pyplot_formatstr.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/pyplot_formatstr
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_mathtext_thumb.png
:alt: Pyplot Mathtext
:ref:`sphx_glr_gallery_pyplots_pyplot_mathtext.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/pyplot_mathtext
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_simple_thumb.png
:alt: Pyplot Simple
:ref:`sphx_glr_gallery_pyplots_pyplot_simple.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/pyplot_simple
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_text_thumb.png
:alt: Pyplot Text
:ref:`sphx_glr_gallery_pyplots_pyplot_text.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/pyplot_text
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_three_thumb.png
:alt: Pyplot Three
:ref:`sphx_glr_gallery_pyplots_pyplot_three.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/pyplot_three
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_two_subplots_thumb.png
:alt: Pyplot Two Subplots
:ref:`sphx_glr_gallery_pyplots_pyplot_two_subplots.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/pyplot_two_subplots
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_text_commands_thumb.png
:alt: Text Commands
:ref:`sphx_glr_gallery_pyplots_text_commands.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/text_commands
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_text_layout_thumb.png
:alt: Text Layout
:ref:`sphx_glr_gallery_pyplots_text_layout.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/text_layout
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_whats_new_1_subplot3d_thumb.png
:alt: What's New 1 Subplot3d
:ref:`sphx_glr_gallery_pyplots_whats_new_1_subplot3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/whats_new_1_subplot3d
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_whats_new_98_4_fill_between_thumb.png
:alt: Fill Between
:ref:`sphx_glr_gallery_pyplots_whats_new_98_4_fill_between.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/whats_new_98_4_fill_between
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_whats_new_98_4_legend_thumb.png
:alt: What's New 0.98.4 Legend
:ref:`sphx_glr_gallery_pyplots_whats_new_98_4_legend.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/whats_new_98_4_legend
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_whats_new_99_axes_grid_thumb.png
:alt: What's New 0.99 Axes Grid
:ref:`sphx_glr_gallery_pyplots_whats_new_99_axes_grid.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/whats_new_99_axes_grid
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_whats_new_99_mplot3d_thumb.png
:alt: What's New 0.99 Mplot3d
:ref:`sphx_glr_gallery_pyplots_whats_new_99_mplot3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/whats_new_99_mplot3d
.. raw:: html
.. only:: html
.. figure:: /gallery/pyplots/images/thumb/sphx_glr_whats_new_99_spines_thumb.png
:alt: What's New 0.99 Spines
:ref:`sphx_glr_gallery_pyplots_whats_new_99_spines.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/pyplots/whats_new_99_spines
.. raw:: html
.. _sphx_glr_gallery_color:
.. _color_examples:
Color
=====
For more in-depth information about the colormaps available in matplotlib
as well as a description of their properties,
see the :ref:`colormaps tutorial `.
.. raw:: html
.. only:: html
.. figure:: /gallery/color/images/thumb/sphx_glr_color_demo_thumb.png
:alt: Color Demo
:ref:`sphx_glr_gallery_color_color_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/color/color_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/color/images/thumb/sphx_glr_color_by_yvalue_thumb.png
:alt: Color by y-value
:ref:`sphx_glr_gallery_color_color_by_yvalue.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/color/color_by_yvalue
.. raw:: html
.. only:: html
.. figure:: /gallery/color/images/thumb/sphx_glr_color_cycle_default_thumb.png
:alt: Colors in the default property cycle
:ref:`sphx_glr_gallery_color_color_cycle_default.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/color/color_cycle_default
.. raw:: html
.. only:: html
.. figure:: /gallery/color/images/thumb/sphx_glr_colorbar_basics_thumb.png
:alt: Colorbar
:ref:`sphx_glr_gallery_color_colorbar_basics.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/color/colorbar_basics
.. raw:: html
.. only:: html
.. figure:: /gallery/color/images/thumb/sphx_glr_colormap_reference_thumb.png
:alt: Colormap reference
:ref:`sphx_glr_gallery_color_colormap_reference.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/color/colormap_reference
.. raw:: html
.. only:: html
.. figure:: /gallery/color/images/thumb/sphx_glr_custom_cmap_thumb.png
:alt: Creating a colormap from a list of colors
:ref:`sphx_glr_gallery_color_custom_cmap.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/color/custom_cmap
.. raw:: html
.. only:: html
.. figure:: /gallery/color/images/thumb/sphx_glr_named_colors_thumb.png
:alt: List of named colors
:ref:`sphx_glr_gallery_color_named_colors.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/color/named_colors
.. raw:: html
.. _sphx_glr_gallery_shapes_and_collections:
.. _shapes_and_collections_examples:
Shapes and collections
======================
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_arrow_guide_thumb.png
:alt: Arrow guide
:ref:`sphx_glr_gallery_shapes_and_collections_arrow_guide.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/arrow_guide
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_artist_reference_thumb.png
:alt: Reference for Matplotlib artists
:ref:`sphx_glr_gallery_shapes_and_collections_artist_reference.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/artist_reference
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_collections_thumb.png
:alt: Line, Poly and RegularPoly Collection with autoscaling
:ref:`sphx_glr_gallery_shapes_and_collections_collections.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/collections
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_compound_path_thumb.png
:alt: Compound path
:ref:`sphx_glr_gallery_shapes_and_collections_compound_path.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/compound_path
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_dolphin_thumb.png
:alt: Dolphins
:ref:`sphx_glr_gallery_shapes_and_collections_dolphin.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/dolphin
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_donut_thumb.png
:alt: Mmh Donuts!!!
:ref:`sphx_glr_gallery_shapes_and_collections_donut.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/donut
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_ellipse_collection_thumb.png
:alt: Ellipse Collection
:ref:`sphx_glr_gallery_shapes_and_collections_ellipse_collection.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/ellipse_collection
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_ellipse_demo_thumb.png
:alt: Ellipse Demo
:ref:`sphx_glr_gallery_shapes_and_collections_ellipse_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/ellipse_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_fancybox_demo_thumb.png
:alt: Drawing fancy boxes
:ref:`sphx_glr_gallery_shapes_and_collections_fancybox_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/fancybox_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_hatch_demo_thumb.png
:alt: Hatch Demo
:ref:`sphx_glr_gallery_shapes_and_collections_hatch_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/hatch_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_line_collection_thumb.png
:alt: Line Collection
:ref:`sphx_glr_gallery_shapes_and_collections_line_collection.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/line_collection
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_marker_path_thumb.png
:alt: Marker Path
:ref:`sphx_glr_gallery_shapes_and_collections_marker_path.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/marker_path
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_patch_collection_thumb.png
:alt: Circles, Wedges and Polygons
:ref:`sphx_glr_gallery_shapes_and_collections_patch_collection.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/patch_collection
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_path_patch_thumb.png
:alt: PathPatch object
:ref:`sphx_glr_gallery_shapes_and_collections_path_patch.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/path_patch
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_quad_bezier_thumb.png
:alt: Bezier Curve
:ref:`sphx_glr_gallery_shapes_and_collections_quad_bezier.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/quad_bezier
.. raw:: html
.. only:: html
.. figure:: /gallery/shapes_and_collections/images/thumb/sphx_glr_scatter_thumb.png
:alt: Scatter plot
:ref:`sphx_glr_gallery_shapes_and_collections_scatter.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/shapes_and_collections/scatter
.. raw:: html
.. _sphx_glr_gallery_style_sheets:
.. _style_sheet_examples:
Style sheets
============
.. raw:: html
.. only:: html
.. figure:: /gallery/style_sheets/images/thumb/sphx_glr_bmh_thumb.png
:alt: Bayesian Methods for Hackers style sheet
:ref:`sphx_glr_gallery_style_sheets_bmh.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/style_sheets/bmh
.. raw:: html
.. only:: html
.. figure:: /gallery/style_sheets/images/thumb/sphx_glr_dark_background_thumb.png
:alt: Dark background style sheet
:ref:`sphx_glr_gallery_style_sheets_dark_background.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/style_sheets/dark_background
.. raw:: html
.. only:: html
.. figure:: /gallery/style_sheets/images/thumb/sphx_glr_fivethirtyeight_thumb.png
:alt: FiveThirtyEight style sheet
:ref:`sphx_glr_gallery_style_sheets_fivethirtyeight.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/style_sheets/fivethirtyeight
.. raw:: html
.. only:: html
.. figure:: /gallery/style_sheets/images/thumb/sphx_glr_ggplot_thumb.png
:alt: ggplot style sheet
:ref:`sphx_glr_gallery_style_sheets_ggplot.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/style_sheets/ggplot
.. raw:: html
.. only:: html
.. figure:: /gallery/style_sheets/images/thumb/sphx_glr_grayscale_thumb.png
:alt: Grayscale style sheet
:ref:`sphx_glr_gallery_style_sheets_grayscale.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/style_sheets/grayscale
.. raw:: html
.. only:: html
.. figure:: /gallery/style_sheets/images/thumb/sphx_glr_plot_solarizedlight2_thumb.png
:alt: Solarized Light stylesheet
:ref:`sphx_glr_gallery_style_sheets_plot_solarizedlight2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/style_sheets/plot_solarizedlight2
.. raw:: html
.. only:: html
.. figure:: /gallery/style_sheets/images/thumb/sphx_glr_style_sheets_reference_thumb.png
:alt: Style sheets reference
:ref:`sphx_glr_gallery_style_sheets_style_sheets_reference.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/style_sheets/style_sheets_reference
.. raw:: html
.. _sphx_glr_gallery_axes_grid1:
.. _axes_grid_examples:
.. _axes_grid1-examples-index:
Axes Grid
=========
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_anchored_direction_arrows_thumb.png
:alt: Demo Anchored Direction Arrow
:ref:`sphx_glr_gallery_axes_grid1_demo_anchored_direction_arrows.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_anchored_direction_arrows
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_axes_divider_thumb.png
:alt: Demo Axes Divider
:ref:`sphx_glr_gallery_axes_grid1_demo_axes_divider.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_axes_divider
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_axes_grid_thumb.png
:alt: Demo Axes Grid
:ref:`sphx_glr_gallery_axes_grid1_demo_axes_grid.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_axes_grid
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_axes_grid2_thumb.png
:alt: Demo Axes Grid2
:ref:`sphx_glr_gallery_axes_grid1_demo_axes_grid2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_axes_grid2
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_axes_hbox_divider_thumb.png
:alt: `.HBoxDivider` demo
:ref:`sphx_glr_gallery_axes_grid1_demo_axes_hbox_divider.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_axes_hbox_divider
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_axes_rgb_thumb.png
:alt: Demo Axes RGB
:ref:`sphx_glr_gallery_axes_grid1_demo_axes_rgb.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_axes_rgb
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_colorbar_of_inset_axes_thumb.png
:alt: Demo Colorbar of Inset Axes
:ref:`sphx_glr_gallery_axes_grid1_demo_colorbar_of_inset_axes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_colorbar_of_inset_axes
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_colorbar_with_axes_divider_thumb.png
:alt: Colorbar with `.AxesDivider`
:ref:`sphx_glr_gallery_axes_grid1_demo_colorbar_with_axes_divider.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_colorbar_with_axes_divider
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_colorbar_with_inset_locator_thumb.png
:alt: Controlling the position and size of colorbars with Inset Axes
:ref:`sphx_glr_gallery_axes_grid1_demo_colorbar_with_inset_locator.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_colorbar_with_inset_locator
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_edge_colorbar_thumb.png
:alt: Demo Edge Colorbar
:ref:`sphx_glr_gallery_axes_grid1_demo_edge_colorbar.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_edge_colorbar
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_fixed_size_axes_thumb.png
:alt: Demo Fixed Size Axes
:ref:`sphx_glr_gallery_axes_grid1_demo_fixed_size_axes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_fixed_size_axes
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_imagegrid_aspect_thumb.png
:alt: Demo Imagegrid Aspect
:ref:`sphx_glr_gallery_axes_grid1_demo_imagegrid_aspect.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/demo_imagegrid_aspect
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_inset_locator_demo_thumb.png
:alt: Inset Locator Demo
:ref:`sphx_glr_gallery_axes_grid1_inset_locator_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/inset_locator_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_inset_locator_demo2_thumb.png
:alt: Inset Locator Demo2
:ref:`sphx_glr_gallery_axes_grid1_inset_locator_demo2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/inset_locator_demo2
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_make_room_for_ylabel_using_axesgrid_thumb.png
:alt: Make Room For Ylabel Using Axesgrid
:ref:`sphx_glr_gallery_axes_grid1_make_room_for_ylabel_using_axesgrid.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/make_room_for_ylabel_using_axesgrid
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_parasite_simple_thumb.png
:alt: Parasite Simple
:ref:`sphx_glr_gallery_axes_grid1_parasite_simple.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/parasite_simple
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_parasite_simple2_thumb.png
:alt: Parasite Simple2
:ref:`sphx_glr_gallery_axes_grid1_parasite_simple2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/parasite_simple2
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_scatter_hist_locatable_axes_thumb.png
:alt: Scatter Histogram (Locatable Axes)
:ref:`sphx_glr_gallery_axes_grid1_scatter_hist_locatable_axes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/scatter_hist_locatable_axes
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_anchored_artists_thumb.png
:alt: Simple Anchored Artists
:ref:`sphx_glr_gallery_axes_grid1_simple_anchored_artists.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/simple_anchored_artists
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_axes_divider1_thumb.png
:alt: Simple Axes Divider 1
:ref:`sphx_glr_gallery_axes_grid1_simple_axes_divider1.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/simple_axes_divider1
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_axes_divider3_thumb.png
:alt: Simple Axes Divider 3
:ref:`sphx_glr_gallery_axes_grid1_simple_axes_divider3.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/simple_axes_divider3
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_axesgrid_thumb.png
:alt: Simple ImageGrid
:ref:`sphx_glr_gallery_axes_grid1_simple_axesgrid.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/simple_axesgrid
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_axesgrid2_thumb.png
:alt: Simple ImageGrid 2
:ref:`sphx_glr_gallery_axes_grid1_simple_axesgrid2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/simple_axesgrid2
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_axisline4_thumb.png
:alt: Simple Axisline4
:ref:`sphx_glr_gallery_axes_grid1_simple_axisline4.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/simple_axisline4
.. raw:: html
.. only:: html
.. figure:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_colorbar_thumb.png
:alt: Simple Colorbar
:ref:`sphx_glr_gallery_axes_grid1_simple_colorbar.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axes_grid1/simple_colorbar
.. raw:: html
.. _sphx_glr_gallery_axisartist:
.. _axis_artist_examples:
.. _axisartist-examples-index:
Axis Artist
===========
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_axis_direction_demo_step01_thumb.png
:alt: Axis Direction Demo Step01
:ref:`sphx_glr_gallery_axisartist_axis_direction_demo_step01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/axis_direction_demo_step01
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_axis_direction_demo_step02_thumb.png
:alt: Axis Direction Demo Step02
:ref:`sphx_glr_gallery_axisartist_axis_direction_demo_step02.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/axis_direction_demo_step02
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_axis_direction_demo_step03_thumb.png
:alt: Axis Direction Demo Step03
:ref:`sphx_glr_gallery_axisartist_axis_direction_demo_step03.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/axis_direction_demo_step03
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_axis_direction_demo_step04_thumb.png
:alt: Axis Direction Demo Step04
:ref:`sphx_glr_gallery_axisartist_axis_direction_demo_step04.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/axis_direction_demo_step04
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_axis_direction_thumb.png
:alt: Demo Axis Direction
:ref:`sphx_glr_gallery_axisartist_demo_axis_direction.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_axis_direction
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_axisline_style_thumb.png
:alt: Axis line styles
:ref:`sphx_glr_gallery_axisartist_demo_axisline_style.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_axisline_style
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_curvelinear_grid_thumb.png
:alt: Curvilinear grid demo
:ref:`sphx_glr_gallery_axisartist_demo_curvelinear_grid.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_curvelinear_grid
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_curvelinear_grid2_thumb.png
:alt: Demo Curvelinear Grid2
:ref:`sphx_glr_gallery_axisartist_demo_curvelinear_grid2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_curvelinear_grid2
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_floating_axes_thumb.png
:alt: :mod:`mpl_toolkits.axisartist.floating_axes` features
:ref:`sphx_glr_gallery_axisartist_demo_floating_axes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_floating_axes
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_floating_axis_thumb.png
:alt: Demo Floating Axis
:ref:`sphx_glr_gallery_axisartist_demo_floating_axis.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_floating_axis
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_parasite_axes_thumb.png
:alt: Parasite Axes demo
:ref:`sphx_glr_gallery_axisartist_demo_parasite_axes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_parasite_axes
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_parasite_axes2_thumb.png
:alt: Parasite axis demo
:ref:`sphx_glr_gallery_axisartist_demo_parasite_axes2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_parasite_axes2
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_ticklabel_alignment_thumb.png
:alt: Demo Ticklabel Alignment
:ref:`sphx_glr_gallery_axisartist_demo_ticklabel_alignment.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_ticklabel_alignment
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_demo_ticklabel_direction_thumb.png
:alt: Demo Ticklabel Direction
:ref:`sphx_glr_gallery_axisartist_demo_ticklabel_direction.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/demo_ticklabel_direction
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_simple_axis_direction01_thumb.png
:alt: Simple Axis Direction01
:ref:`sphx_glr_gallery_axisartist_simple_axis_direction01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/simple_axis_direction01
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_simple_axis_direction03_thumb.png
:alt: Simple Axis Direction03
:ref:`sphx_glr_gallery_axisartist_simple_axis_direction03.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/simple_axis_direction03
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_simple_axis_pad_thumb.png
:alt: Simple Axis Pad
:ref:`sphx_glr_gallery_axisartist_simple_axis_pad.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/simple_axis_pad
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_simple_axisartist1_thumb.png
:alt: Simple Axisartist1
:ref:`sphx_glr_gallery_axisartist_simple_axisartist1.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/simple_axisartist1
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_simple_axisline_thumb.png
:alt: Simple Axisline
:ref:`sphx_glr_gallery_axisartist_simple_axisline.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/simple_axisline
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_simple_axisline2_thumb.png
:alt: Simple Axisline2
:ref:`sphx_glr_gallery_axisartist_simple_axisline2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/simple_axisline2
.. raw:: html
.. only:: html
.. figure:: /gallery/axisartist/images/thumb/sphx_glr_simple_axisline3_thumb.png
:alt: Simple Axisline3
:ref:`sphx_glr_gallery_axisartist_simple_axisline3.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/axisartist/simple_axisline3
.. raw:: html
.. _sphx_glr_gallery_showcase:
.. _showcase_examples:
Showcase
========
.. raw:: html
.. only:: html
.. figure:: /gallery/showcase/images/thumb/sphx_glr_anatomy_thumb.png
:alt: Anatomy of a figure
:ref:`sphx_glr_gallery_showcase_anatomy.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/showcase/anatomy
.. raw:: html
.. only:: html
.. figure:: /gallery/showcase/images/thumb/sphx_glr_bachelors_degrees_by_gender_thumb.png
:alt: Bachelor's degrees by gender
:ref:`sphx_glr_gallery_showcase_bachelors_degrees_by_gender.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/showcase/bachelors_degrees_by_gender
.. raw:: html
.. only:: html
.. figure:: /gallery/showcase/images/thumb/sphx_glr_firefox_thumb.png
:alt: Firefox
:ref:`sphx_glr_gallery_showcase_firefox.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/showcase/firefox
.. raw:: html
.. only:: html
.. figure:: /gallery/showcase/images/thumb/sphx_glr_integral_thumb.png
:alt: Integral as the area under a curve
:ref:`sphx_glr_gallery_showcase_integral.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/showcase/integral
.. raw:: html
.. only:: html
.. figure:: /gallery/showcase/images/thumb/sphx_glr_mandelbrot_thumb.png
:alt: Shaded & power normalized rendering
:ref:`sphx_glr_gallery_showcase_mandelbrot.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/showcase/mandelbrot
.. raw:: html
.. only:: html
.. figure:: /gallery/showcase/images/thumb/sphx_glr_xkcd_thumb.png
:alt: XKCD
:ref:`sphx_glr_gallery_showcase_xkcd.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/showcase/xkcd
.. raw:: html
.. _sphx_glr_gallery_animation:
.. _animation_examples:
.. _animation-examples-index:
Animation
=========
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_animate_decay_thumb.gif
:alt: Decay
:ref:`sphx_glr_gallery_animation_animate_decay.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/animate_decay
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_animated_histogram_thumb.gif
:alt: Animated histogram
:ref:`sphx_glr_gallery_animation_animated_histogram.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/animated_histogram
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_animation_demo_thumb.png
:alt: pyplot animation
:ref:`sphx_glr_gallery_animation_animation_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/animation_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_bayes_update_thumb.gif
:alt: The Bayes update
:ref:`sphx_glr_gallery_animation_bayes_update.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/bayes_update
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_double_pendulum_thumb.gif
:alt: The double pendulum problem
:ref:`sphx_glr_gallery_animation_double_pendulum.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/double_pendulum
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_dynamic_image_thumb.png
:alt: Animated image using a precomputed list of images
:ref:`sphx_glr_gallery_animation_dynamic_image.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/dynamic_image
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_frame_grabbing_sgskip_thumb.png
:alt: Frame grabbing
:ref:`sphx_glr_gallery_animation_frame_grabbing_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/frame_grabbing_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_rain_thumb.gif
:alt: Rain simulation
:ref:`sphx_glr_gallery_animation_rain.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/rain
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_random_walk_thumb.gif
:alt: Animated 3D random walk
:ref:`sphx_glr_gallery_animation_random_walk.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/random_walk
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_simple_anim_thumb.gif
:alt: Animated line plot
:ref:`sphx_glr_gallery_animation_simple_anim.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/simple_anim
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_strip_chart_thumb.gif
:alt: Oscilloscope
:ref:`sphx_glr_gallery_animation_strip_chart.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/strip_chart
.. raw:: html
.. only:: html
.. figure:: /gallery/animation/images/thumb/sphx_glr_unchained_thumb.gif
:alt: MATPLOTLIB **UNCHAINED**
:ref:`sphx_glr_gallery_animation_unchained.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/animation/unchained
.. raw:: html
.. _sphx_glr_gallery_event_handling:
.. _event_handling_examples:
Event handling
==============
Matplotlib supports :doc:`event handling` with a GUI
neutral event model, so you can connect to Matplotlib events without knowledge
of what user interface Matplotlib will ultimately be plugged in to. This has
two advantages: the code you write will be more portable, and Matplotlib events
are aware of things like data coordinate space and which axes the event occurs
in so you don't have to mess with low level transformation details to go from
canvas space to data space. Object picking examples are also included.
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_close_event_thumb.png
:alt: Close Event
:ref:`sphx_glr_gallery_event_handling_close_event.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/close_event
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_coords_demo_thumb.png
:alt: Coords demo
:ref:`sphx_glr_gallery_event_handling_coords_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/coords_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_data_browser_thumb.png
:alt: Data Browser
:ref:`sphx_glr_gallery_event_handling_data_browser.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/data_browser
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_figure_axes_enter_leave_thumb.png
:alt: Figure Axes Enter Leave
:ref:`sphx_glr_gallery_event_handling_figure_axes_enter_leave.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/figure_axes_enter_leave
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_ginput_manual_clabel_sgskip_thumb.png
:alt: Interactive functions
:ref:`sphx_glr_gallery_event_handling_ginput_manual_clabel_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/ginput_manual_clabel_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_image_slices_viewer_thumb.png
:alt: Image Slices Viewer
:ref:`sphx_glr_gallery_event_handling_image_slices_viewer.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/image_slices_viewer
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_keypress_demo_thumb.png
:alt: Keypress Demo
:ref:`sphx_glr_gallery_event_handling_keypress_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/keypress_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_lasso_demo_thumb.png
:alt: Lasso Demo
:ref:`sphx_glr_gallery_event_handling_lasso_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/lasso_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_legend_picking_thumb.png
:alt: Legend Picking
:ref:`sphx_glr_gallery_event_handling_legend_picking.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/legend_picking
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_looking_glass_thumb.png
:alt: Looking Glass
:ref:`sphx_glr_gallery_event_handling_looking_glass.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/looking_glass
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_path_editor_thumb.png
:alt: Path Editor
:ref:`sphx_glr_gallery_event_handling_path_editor.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/path_editor
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_pick_event_demo_thumb.png
:alt: Pick Event Demo
:ref:`sphx_glr_gallery_event_handling_pick_event_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/pick_event_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_pick_event_demo2_thumb.png
:alt: Pick Event Demo2
:ref:`sphx_glr_gallery_event_handling_pick_event_demo2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/pick_event_demo2
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_pipong_thumb.png
:alt: Pipong
:ref:`sphx_glr_gallery_event_handling_pipong.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/pipong
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_poly_editor_thumb.png
:alt: Poly Editor
:ref:`sphx_glr_gallery_event_handling_poly_editor.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/poly_editor
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_pong_sgskip_thumb.png
:alt: Pong
:ref:`sphx_glr_gallery_event_handling_pong_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/pong_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_resample_thumb.png
:alt: Resampling Data
:ref:`sphx_glr_gallery_event_handling_resample.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/resample
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_timers_thumb.png
:alt: Timers
:ref:`sphx_glr_gallery_event_handling_timers.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/timers
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_trifinder_event_demo_thumb.png
:alt: Trifinder Event Demo
:ref:`sphx_glr_gallery_event_handling_trifinder_event_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/trifinder_event_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_viewlims_thumb.png
:alt: Viewlims
:ref:`sphx_glr_gallery_event_handling_viewlims.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/viewlims
.. raw:: html
.. only:: html
.. figure:: /gallery/event_handling/images/thumb/sphx_glr_zoom_window_thumb.png
:alt: Zoom Window
:ref:`sphx_glr_gallery_event_handling_zoom_window.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/event_handling/zoom_window
.. raw:: html
.. _sphx_glr_gallery_frontpage:
.. _front_page_examples:
Front Page
==========
.. raw:: html
.. only:: html
.. figure:: /gallery/frontpage/images/thumb/sphx_glr_3D_thumb.png
:alt: Frontpage 3D example
:ref:`sphx_glr_gallery_frontpage_3D.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/frontpage/3D
.. raw:: html
.. only:: html
.. figure:: /gallery/frontpage/images/thumb/sphx_glr_contour_thumb.png
:alt: Frontpage contour example
:ref:`sphx_glr_gallery_frontpage_contour.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/frontpage/contour
.. raw:: html
.. only:: html
.. figure:: /gallery/frontpage/images/thumb/sphx_glr_histogram_thumb.png
:alt: Frontpage histogram example
:ref:`sphx_glr_gallery_frontpage_histogram.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/frontpage/histogram
.. raw:: html
.. only:: html
.. figure:: /gallery/frontpage/images/thumb/sphx_glr_membrane_thumb.png
:alt: Frontpage plot example
:ref:`sphx_glr_gallery_frontpage_membrane.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/frontpage/membrane
.. raw:: html
.. _sphx_glr_gallery_misc:
.. _misc-examples-index:
Miscellaneous
=============
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_agg_buffer_thumb.png
:alt: Agg Buffer
:ref:`sphx_glr_gallery_misc_agg_buffer.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/agg_buffer
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_agg_buffer_to_array_thumb.png
:alt: Agg Buffer To Array
:ref:`sphx_glr_gallery_misc_agg_buffer_to_array.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/agg_buffer_to_array
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_anchored_artists_thumb.png
:alt: Anchored Artists
:ref:`sphx_glr_gallery_misc_anchored_artists.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/anchored_artists
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_bbox_intersect_thumb.png
:alt: Changing colors of lines intersecting a box
:ref:`sphx_glr_gallery_misc_bbox_intersect.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/bbox_intersect
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_contour_manual_thumb.png
:alt: Manual Contour
:ref:`sphx_glr_gallery_misc_contour_manual.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/contour_manual
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_coords_report_thumb.png
:alt: Coords Report
:ref:`sphx_glr_gallery_misc_coords_report.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/coords_report
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_cursor_demo_thumb.png
:alt: Cross hair cursor
:ref:`sphx_glr_gallery_misc_cursor_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/cursor_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_custom_projection_thumb.png
:alt: Custom projection
:ref:`sphx_glr_gallery_misc_custom_projection.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/custom_projection
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_customize_rc_thumb.png
:alt: Customize Rc
:ref:`sphx_glr_gallery_misc_customize_rc.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/customize_rc
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_demo_agg_filter_thumb.png
:alt: Demo Agg Filter
:ref:`sphx_glr_gallery_misc_demo_agg_filter.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/demo_agg_filter
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_demo_ribbon_box_thumb.png
:alt: Ribbon Box
:ref:`sphx_glr_gallery_misc_demo_ribbon_box.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/demo_ribbon_box
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_fill_spiral_thumb.png
:alt: Fill Spiral
:ref:`sphx_glr_gallery_misc_fill_spiral.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/fill_spiral
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_findobj_demo_thumb.png
:alt: Findobj Demo
:ref:`sphx_glr_gallery_misc_findobj_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/findobj_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_font_indexing_thumb.png
:alt: Font indexing
:ref:`sphx_glr_gallery_misc_font_indexing.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/font_indexing
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_ftface_props_thumb.png
:alt: Font properties
:ref:`sphx_glr_gallery_misc_ftface_props.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/ftface_props
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_histogram_path_thumb.png
:alt: Building histograms using Rectangles and PolyCollections
:ref:`sphx_glr_gallery_misc_histogram_path.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/histogram_path
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_hyperlinks_sgskip_thumb.png
:alt: Hyperlinks
:ref:`sphx_glr_gallery_misc_hyperlinks_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/hyperlinks_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_image_thumbnail_sgskip_thumb.png
:alt: Image Thumbnail
:ref:`sphx_glr_gallery_misc_image_thumbnail_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/image_thumbnail_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_keyword_plotting_thumb.png
:alt: Plotting with keywords
:ref:`sphx_glr_gallery_misc_keyword_plotting.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/keyword_plotting
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_load_converter_thumb.png
:alt: Load converter
:ref:`sphx_glr_gallery_misc_load_converter.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/load_converter
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_logos2_thumb.png
:alt: Matplotlib logo
:ref:`sphx_glr_gallery_misc_logos2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/logos2
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_multipage_pdf_thumb.png
:alt: Multipage PDF
:ref:`sphx_glr_gallery_misc_multipage_pdf.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/multipage_pdf
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_multiprocess_sgskip_thumb.png
:alt: Multiprocess
:ref:`sphx_glr_gallery_misc_multiprocess_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/multiprocess_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_patheffect_demo_thumb.png
:alt: Patheffect Demo
:ref:`sphx_glr_gallery_misc_patheffect_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/patheffect_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_print_stdout_sgskip_thumb.png
:alt: Print Stdout
:ref:`sphx_glr_gallery_misc_print_stdout_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/print_stdout_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_pythonic_matplotlib_thumb.png
:alt: Pythonic Matplotlib
:ref:`sphx_glr_gallery_misc_pythonic_matplotlib.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/pythonic_matplotlib
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_rasterization_demo_thumb.png
:alt: Rasterization Demo
:ref:`sphx_glr_gallery_misc_rasterization_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/rasterization_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_set_and_get_thumb.png
:alt: Set and get properties
:ref:`sphx_glr_gallery_misc_set_and_get.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/set_and_get
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_svg_filter_line_thumb.png
:alt: SVG Filter Line
:ref:`sphx_glr_gallery_misc_svg_filter_line.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/svg_filter_line
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_svg_filter_pie_thumb.png
:alt: SVG Filter Pie
:ref:`sphx_glr_gallery_misc_svg_filter_pie.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/svg_filter_pie
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_table_demo_thumb.png
:alt: Table Demo
:ref:`sphx_glr_gallery_misc_table_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/table_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_transoffset_thumb.png
:alt: transforms.offset_copy
:ref:`sphx_glr_gallery_misc_transoffset.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/transoffset
.. raw:: html
.. only:: html
.. figure:: /gallery/misc/images/thumb/sphx_glr_zorder_demo_thumb.png
:alt: Zorder Demo
:ref:`sphx_glr_gallery_misc_zorder_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/misc/zorder_demo
.. raw:: html
.. _sphx_glr_gallery_mplot3d:
.. _mplot3d_example:
.. _mplot3d-examples-index:
3D plotting
===========
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_2dcollections3d_thumb.png
:alt: Plot 2D data on 3D plot
:ref:`sphx_glr_gallery_mplot3d_2dcollections3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/2dcollections3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_3d_bars_thumb.png
:alt: Demo of 3D bar charts
:ref:`sphx_glr_gallery_mplot3d_3d_bars.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/3d_bars
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_bars3d_thumb.png
:alt: Create 2D bar graphs in different planes
:ref:`sphx_glr_gallery_mplot3d_bars3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/bars3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_thumb.png
:alt: Demonstrates plotting contour (level) curves in 3D
:ref:`sphx_glr_gallery_mplot3d_contour3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/contour3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_2_thumb.png
:alt: Demonstrates plotting contour (level) curves in 3D using the extend3d option
:ref:`sphx_glr_gallery_mplot3d_contour3d_2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/contour3d_2
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_3_thumb.png
:alt: Projecting contour profiles onto a graph
:ref:`sphx_glr_gallery_mplot3d_contour3d_3.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/contour3d_3
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_contourf3d_thumb.png
:alt: Filled contours
:ref:`sphx_glr_gallery_mplot3d_contourf3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/contourf3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_contourf3d_2_thumb.png
:alt: Projecting filled contour onto a graph
:ref:`sphx_glr_gallery_mplot3d_contourf3d_2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/contourf3d_2
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_custom_shaded_3d_surface_thumb.png
:alt: Custom hillshading in a 3D surface plot
:ref:`sphx_glr_gallery_mplot3d_custom_shaded_3d_surface.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/custom_shaded_3d_surface
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_hist3d_thumb.png
:alt: Create 3D histogram of 2D data
:ref:`sphx_glr_gallery_mplot3d_hist3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/hist3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_lines3d_thumb.png
:alt: Parametric Curve
:ref:`sphx_glr_gallery_mplot3d_lines3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/lines3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_lorenz_attractor_thumb.png
:alt: Lorenz Attractor
:ref:`sphx_glr_gallery_mplot3d_lorenz_attractor.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/lorenz_attractor
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_mixed_subplots_thumb.png
:alt: 2D and 3D *Axes* in same *Figure*
:ref:`sphx_glr_gallery_mplot3d_mixed_subplots.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/mixed_subplots
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_offset_thumb.png
:alt: Automatic Text Offsetting
:ref:`sphx_glr_gallery_mplot3d_offset.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/offset
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_pathpatch3d_thumb.png
:alt: Draw flat objects in 3D plot
:ref:`sphx_glr_gallery_mplot3d_pathpatch3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/pathpatch3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_polys3d_thumb.png
:alt: Generate polygons to fill under 3D line graph
:ref:`sphx_glr_gallery_mplot3d_polys3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/polys3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_quiver3d_thumb.png
:alt: 3D quiver plot
:ref:`sphx_glr_gallery_mplot3d_quiver3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/quiver3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_rotate_axes3d_sgskip_thumb.png
:alt: Rotating a 3D plot
:ref:`sphx_glr_gallery_mplot3d_rotate_axes3d_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/rotate_axes3d_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_scatter3d_thumb.png
:alt: 3D scatterplot
:ref:`sphx_glr_gallery_mplot3d_scatter3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/scatter3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_subplot3d_thumb.png
:alt: 3D plots as subplots
:ref:`sphx_glr_gallery_mplot3d_subplot3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/subplot3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_thumb.png
:alt: 3D surface (color map)
:ref:`sphx_glr_gallery_mplot3d_surface3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/surface3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_2_thumb.png
:alt: 3D surface (solid color)
:ref:`sphx_glr_gallery_mplot3d_surface3d_2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/surface3d_2
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_3_thumb.png
:alt: 3D surface (checkerboard)
:ref:`sphx_glr_gallery_mplot3d_surface3d_3.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/surface3d_3
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_radial_thumb.png
:alt: 3D surface with polar coordinates
:ref:`sphx_glr_gallery_mplot3d_surface3d_radial.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/surface3d_radial
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_text3d_thumb.png
:alt: Text annotations in 3D
:ref:`sphx_glr_gallery_mplot3d_text3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/text3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_tricontour3d_thumb.png
:alt: Triangular 3D contour plot
:ref:`sphx_glr_gallery_mplot3d_tricontour3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/tricontour3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_tricontourf3d_thumb.png
:alt: Triangular 3D filled contour plot
:ref:`sphx_glr_gallery_mplot3d_tricontourf3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/tricontourf3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_trisurf3d_thumb.png
:alt: Triangular 3D surfaces
:ref:`sphx_glr_gallery_mplot3d_trisurf3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/trisurf3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_trisurf3d_2_thumb.png
:alt: More triangular 3D surfaces
:ref:`sphx_glr_gallery_mplot3d_trisurf3d_2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/trisurf3d_2
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_voxels_thumb.png
:alt: 3D voxel / volumetric plot
:ref:`sphx_glr_gallery_mplot3d_voxels.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/voxels
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_voxels_numpy_logo_thumb.png
:alt: 3D voxel plot of the numpy logo
:ref:`sphx_glr_gallery_mplot3d_voxels_numpy_logo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/voxels_numpy_logo
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_voxels_rgb_thumb.png
:alt: 3D voxel / volumetric plot with rgb colors
:ref:`sphx_glr_gallery_mplot3d_voxels_rgb.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/voxels_rgb
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_voxels_torus_thumb.png
:alt: 3D voxel / volumetric plot with cylindrical coordinates
:ref:`sphx_glr_gallery_mplot3d_voxels_torus.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/voxels_torus
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_wire3d_thumb.png
:alt: 3D wireframe plot
:ref:`sphx_glr_gallery_mplot3d_wire3d.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/wire3d
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_wire3d_animation_sgskip_thumb.png
:alt: Rotating 3D wireframe plot
:ref:`sphx_glr_gallery_mplot3d_wire3d_animation_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/wire3d_animation_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/mplot3d/images/thumb/sphx_glr_wire3d_zero_stride_thumb.png
:alt: 3D wireframe plots in one direction
:ref:`sphx_glr_gallery_mplot3d_wire3d_zero_stride.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/wire3d_zero_stride
.. raw:: html
.. _sphx_glr_gallery_recipes:
.. _recipes:
Our Favorite Recipes
====================
Here is a collection of short tutorials, examples and code snippets
that illustrate some of the useful idioms and tricks to make snazzier
figures and overcome some matplotlib warts.
.. raw:: html
.. only:: html
.. figure:: /gallery/recipes/images/thumb/sphx_glr_centered_spines_with_arrows_thumb.png
:alt: Centered spines with arrows
:ref:`sphx_glr_gallery_recipes_centered_spines_with_arrows.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/recipes/centered_spines_with_arrows
.. raw:: html
.. only:: html
.. figure:: /gallery/recipes/images/thumb/sphx_glr_common_date_problems_thumb.png
:alt: Fixing common date annoyances
:ref:`sphx_glr_gallery_recipes_common_date_problems.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/recipes/common_date_problems
.. raw:: html
.. only:: html
.. figure:: /gallery/recipes/images/thumb/sphx_glr_create_subplots_thumb.png
:alt: Easily creating subplots
:ref:`sphx_glr_gallery_recipes_create_subplots.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/recipes/create_subplots
.. raw:: html
.. only:: html
.. figure:: /gallery/recipes/images/thumb/sphx_glr_fill_between_alpha_thumb.png
:alt: Fill Between and Alpha
:ref:`sphx_glr_gallery_recipes_fill_between_alpha.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/recipes/fill_between_alpha
.. raw:: html
.. only:: html
.. figure:: /gallery/recipes/images/thumb/sphx_glr_placing_text_boxes_thumb.png
:alt: Placing text boxes
:ref:`sphx_glr_gallery_recipes_placing_text_boxes.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/recipes/placing_text_boxes
.. raw:: html
.. only:: html
.. figure:: /gallery/recipes/images/thumb/sphx_glr_share_axis_lims_views_thumb.png
:alt: Sharing axis limits and views
:ref:`sphx_glr_gallery_recipes_share_axis_lims_views.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/recipes/share_axis_lims_views
.. raw:: html
.. _sphx_glr_gallery_scales:
.. _scales_examples:
Scales
======
These examples cover how different scales are handled in Matplotlib.
.. raw:: html
.. only:: html
.. figure:: /gallery/scales/images/thumb/sphx_glr_aspect_loglog_thumb.png
:alt: Loglog Aspect
:ref:`sphx_glr_gallery_scales_aspect_loglog.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/scales/aspect_loglog
.. raw:: html
.. only:: html
.. figure:: /gallery/scales/images/thumb/sphx_glr_custom_scale_thumb.png
:alt: Custom scale
:ref:`sphx_glr_gallery_scales_custom_scale.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/scales/custom_scale
.. raw:: html
.. only:: html
.. figure:: /gallery/scales/images/thumb/sphx_glr_log_bar_thumb.png
:alt: Log Bar
:ref:`sphx_glr_gallery_scales_log_bar.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/scales/log_bar
.. raw:: html
.. only:: html
.. figure:: /gallery/scales/images/thumb/sphx_glr_log_demo_thumb.png
:alt: Log Demo
:ref:`sphx_glr_gallery_scales_log_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/scales/log_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/scales/images/thumb/sphx_glr_log_test_thumb.png
:alt: Log Axis
:ref:`sphx_glr_gallery_scales_log_test.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/scales/log_test
.. raw:: html
.. only:: html
.. figure:: /gallery/scales/images/thumb/sphx_glr_logit_demo_thumb.png
:alt: Logit Demo
:ref:`sphx_glr_gallery_scales_logit_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/scales/logit_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/scales/images/thumb/sphx_glr_power_norm_thumb.png
:alt: Exploring normalizations
:ref:`sphx_glr_gallery_scales_power_norm.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/scales/power_norm
.. raw:: html
.. only:: html
.. figure:: /gallery/scales/images/thumb/sphx_glr_scales_thumb.png
:alt: Scales
:ref:`sphx_glr_gallery_scales_scales.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/scales/scales
.. raw:: html
.. only:: html
.. figure:: /gallery/scales/images/thumb/sphx_glr_symlog_demo_thumb.png
:alt: Symlog Demo
:ref:`sphx_glr_gallery_scales_symlog_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/scales/symlog_demo
.. raw:: html
.. _sphx_glr_gallery_specialty_plots:
.. _specialty_plots_examples:
Specialty Plots
===============
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_advanced_hillshading_thumb.png
:alt: Hillshading
:ref:`sphx_glr_gallery_specialty_plots_advanced_hillshading.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/advanced_hillshading
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_anscombe_thumb.png
:alt: Anscombe's quartet
:ref:`sphx_glr_gallery_specialty_plots_anscombe.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/anscombe
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_hinton_demo_thumb.png
:alt: Hinton diagrams
:ref:`sphx_glr_gallery_specialty_plots_hinton_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/hinton_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_leftventricle_bulleye_thumb.png
:alt: Left ventricle bullseye
:ref:`sphx_glr_gallery_specialty_plots_leftventricle_bulleye.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/leftventricle_bulleye
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_mri_demo_thumb.png
:alt: ===
:ref:`sphx_glr_gallery_specialty_plots_mri_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/mri_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_mri_with_eeg_thumb.png
:alt: MRI With EEG
:ref:`sphx_glr_gallery_specialty_plots_mri_with_eeg.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/mri_with_eeg
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_radar_chart_thumb.png
:alt: Radar chart (aka spider or star chart)
:ref:`sphx_glr_gallery_specialty_plots_radar_chart.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/radar_chart
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_sankey_basics_thumb.png
:alt: The Sankey class
:ref:`sphx_glr_gallery_specialty_plots_sankey_basics.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/sankey_basics
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_sankey_links_thumb.png
:alt: Long chain of connections using Sankey
:ref:`sphx_glr_gallery_specialty_plots_sankey_links.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/sankey_links
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_sankey_rankine_thumb.png
:alt: Rankine power cycle
:ref:`sphx_glr_gallery_specialty_plots_sankey_rankine.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/sankey_rankine
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_skewt_thumb.png
:alt: SkewT-logP diagram: using transforms and custom projections
:ref:`sphx_glr_gallery_specialty_plots_skewt.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/skewt
.. raw:: html
.. only:: html
.. figure:: /gallery/specialty_plots/images/thumb/sphx_glr_topographic_hillshading_thumb.png
:alt: Topographic hillshading
:ref:`sphx_glr_gallery_specialty_plots_topographic_hillshading.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/specialty_plots/topographic_hillshading
.. raw:: html
.. _sphx_glr_gallery_ticks_and_spines:
.. _ticks_and_spines_examples:
Ticks and spines
================
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_auto_ticks_thumb.png
:alt: Automatically setting tick labels
:ref:`sphx_glr_gallery_ticks_and_spines_auto_ticks.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/auto_ticks
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_centered_ticklabels_thumb.png
:alt: Centering labels between ticks
:ref:`sphx_glr_gallery_ticks_and_spines_centered_ticklabels.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/centered_ticklabels
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_colorbar_tick_labelling_demo_thumb.png
:alt: Colorbar Tick Labelling Demo
:ref:`sphx_glr_gallery_ticks_and_spines_colorbar_tick_labelling_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/colorbar_tick_labelling_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_custom_ticker1_thumb.png
:alt: Custom Ticker1
:ref:`sphx_glr_gallery_ticks_and_spines_custom_ticker1.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/custom_ticker1
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_date_concise_formatter_thumb.png
:alt: Formatting date ticks using ConciseDateFormatter
:ref:`sphx_glr_gallery_ticks_and_spines_date_concise_formatter.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/date_concise_formatter
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_date_demo_convert_thumb.png
:alt: Date Demo Convert
:ref:`sphx_glr_gallery_ticks_and_spines_date_demo_convert.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/date_demo_convert
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_date_demo_rrule_thumb.png
:alt: Date Demo Rrule
:ref:`sphx_glr_gallery_ticks_and_spines_date_demo_rrule.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/date_demo_rrule
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_date_index_formatter2_thumb.png
:alt: Date Index Formatter
:ref:`sphx_glr_gallery_ticks_and_spines_date_index_formatter2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/date_index_formatter2
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_date_precision_and_epochs_thumb.png
:alt: Date Precision and Epochs
:ref:`sphx_glr_gallery_ticks_and_spines_date_precision_and_epochs.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/date_precision_and_epochs
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_major_minor_demo_thumb.png
:alt: Major and minor ticks
:ref:`sphx_glr_gallery_ticks_and_spines_major_minor_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/major_minor_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_multiple_yaxis_with_spines_thumb.png
:alt: Multiple Yaxis With Spines
:ref:`sphx_glr_gallery_ticks_and_spines_multiple_yaxis_with_spines.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/multiple_yaxis_with_spines
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_scalarformatter_thumb.png
:alt: The default tick formatter
:ref:`sphx_glr_gallery_ticks_and_spines_scalarformatter.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/scalarformatter
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_spine_placement_demo_thumb.png
:alt: Spine Placement Demo
:ref:`sphx_glr_gallery_ticks_and_spines_spine_placement_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/spine_placement_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_spines_thumb.png
:alt: Spines
:ref:`sphx_glr_gallery_ticks_and_spines_spines.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/spines
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_spines_bounds_thumb.png
:alt: Custom spine bounds
:ref:`sphx_glr_gallery_ticks_and_spines_spines_bounds.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/spines_bounds
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_spines_dropped_thumb.png
:alt: Dropped spines
:ref:`sphx_glr_gallery_ticks_and_spines_spines_dropped.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/spines_dropped
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_tick-formatters_thumb.png
:alt: Tick formatters
:ref:`sphx_glr_gallery_ticks_and_spines_tick-formatters.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/tick-formatters
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_tick-locators_thumb.png
:alt: Tick locators
:ref:`sphx_glr_gallery_ticks_and_spines_tick-locators.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/tick-locators
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_tick_label_right_thumb.png
:alt: Set default y-axis tick labels on the right
:ref:`sphx_glr_gallery_ticks_and_spines_tick_label_right.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/tick_label_right
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_tick_labels_from_values_thumb.png
:alt: Setting tick labels from a list of values
:ref:`sphx_glr_gallery_ticks_and_spines_tick_labels_from_values.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/tick_labels_from_values
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_tick_xlabel_top_thumb.png
:alt: Set default x-axis tick labels on the top
:ref:`sphx_glr_gallery_ticks_and_spines_tick_xlabel_top.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/tick_xlabel_top
.. raw:: html
.. only:: html
.. figure:: /gallery/ticks_and_spines/images/thumb/sphx_glr_ticklabels_rotation_thumb.png
:alt: Rotating custom tick labels
:ref:`sphx_glr_gallery_ticks_and_spines_ticklabels_rotation.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/ticks_and_spines/ticklabels_rotation
.. raw:: html
.. _sphx_glr_gallery_units:
.. _units_examples:
.. _units-examples-index:
Units
=====
These examples cover the many representations of units
in Matplotlib.
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_annotate_with_units_thumb.png
:alt: Annotation with units
:ref:`sphx_glr_gallery_units_annotate_with_units.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/annotate_with_units
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_artist_tests_thumb.png
:alt: Artist tests
:ref:`sphx_glr_gallery_units_artist_tests.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/artist_tests
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_bar_demo2_thumb.png
:alt: Bar demo with units
:ref:`sphx_glr_gallery_units_bar_demo2.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/bar_demo2
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_bar_unit_demo_thumb.png
:alt: Group barchart with units
:ref:`sphx_glr_gallery_units_bar_unit_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/bar_unit_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_basic_units_thumb.png
:alt: Basic Units
:ref:`sphx_glr_gallery_units_basic_units.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/basic_units
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_ellipse_with_units_thumb.png
:alt: Ellipse With Units
:ref:`sphx_glr_gallery_units_ellipse_with_units.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/ellipse_with_units
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_evans_test_thumb.png
:alt: Evans test
:ref:`sphx_glr_gallery_units_evans_test.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/evans_test
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_radian_demo_thumb.png
:alt: Radian ticks
:ref:`sphx_glr_gallery_units_radian_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/radian_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_units_sample_thumb.png
:alt: Inches and Centimeters
:ref:`sphx_glr_gallery_units_units_sample.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/units_sample
.. raw:: html
.. only:: html
.. figure:: /gallery/units/images/thumb/sphx_glr_units_scatter_thumb.png
:alt: Unit handling
:ref:`sphx_glr_gallery_units_units_scatter.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/units/units_scatter
.. raw:: html
.. _sphx_glr_gallery_user_interfaces:
.. _user_interfaces:
Embedding Matplotlib in graphical user interfaces
=================================================
You can embed Matplotlib directly into a user interface application by
following the embedding_in_SOMEGUI.py examples here. Currently
matplotlib supports wxpython, pygtk, tkinter and pyqt4/5.
When embedding Matplotlib in a GUI, you must use the Matplotlib API
directly rather than the pylab/pyplot proceedural interface, so take a
look at the examples/api directory for some example code working with
the API.
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_canvasagg_thumb.png
:alt: CanvasAgg demo
:ref:`sphx_glr_gallery_user_interfaces_canvasagg.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/canvasagg
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_gtk3_panzoom_sgskip_thumb.png
:alt: Embedding in GTK3 with a navigation toolbar
:ref:`sphx_glr_gallery_user_interfaces_embedding_in_gtk3_panzoom_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/embedding_in_gtk3_panzoom_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_gtk3_sgskip_thumb.png
:alt: Embedding in GTK3
:ref:`sphx_glr_gallery_user_interfaces_embedding_in_gtk3_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/embedding_in_gtk3_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_qt_sgskip_thumb.png
:alt: Embedding in Qt
:ref:`sphx_glr_gallery_user_interfaces_embedding_in_qt_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/embedding_in_qt_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_tk_sgskip_thumb.png
:alt: Embedding in Tk
:ref:`sphx_glr_gallery_user_interfaces_embedding_in_tk_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/embedding_in_tk_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_wx2_sgskip_thumb.png
:alt: Embedding in wx #2
:ref:`sphx_glr_gallery_user_interfaces_embedding_in_wx2_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/embedding_in_wx2_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_wx3_sgskip_thumb.png
:alt: Embedding in wx #3
:ref:`sphx_glr_gallery_user_interfaces_embedding_in_wx3_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/embedding_in_wx3_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_wx4_sgskip_thumb.png
:alt: Embedding in wx #4
:ref:`sphx_glr_gallery_user_interfaces_embedding_in_wx4_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/embedding_in_wx4_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_wx5_sgskip_thumb.png
:alt: Embedding in wx #5
:ref:`sphx_glr_gallery_user_interfaces_embedding_in_wx5_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/embedding_in_wx5_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_webagg_sgskip_thumb.png
:alt: Embedding WebAgg
:ref:`sphx_glr_gallery_user_interfaces_embedding_webagg_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/embedding_webagg_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_fourier_demo_wx_sgskip_thumb.png
:alt: Fourier Demo WX
:ref:`sphx_glr_gallery_user_interfaces_fourier_demo_wx_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/fourier_demo_wx_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_gtk_spreadsheet_sgskip_thumb.png
:alt: GTK Spreadsheet
:ref:`sphx_glr_gallery_user_interfaces_gtk_spreadsheet_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/gtk_spreadsheet_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_mathtext_wx_sgskip_thumb.png
:alt: MathText WX
:ref:`sphx_glr_gallery_user_interfaces_mathtext_wx_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/mathtext_wx_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_mpl_with_glade3_sgskip_thumb.png
:alt: Matplotlib With Glade 3
:ref:`sphx_glr_gallery_user_interfaces_mpl_with_glade3_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/mpl_with_glade3_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_pylab_with_gtk_sgskip_thumb.png
:alt: pyplot with GTK
:ref:`sphx_glr_gallery_user_interfaces_pylab_with_gtk_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/pylab_with_gtk_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_svg_histogram_sgskip_thumb.png
:alt: SVG Histogram
:ref:`sphx_glr_gallery_user_interfaces_svg_histogram_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/svg_histogram_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_svg_tooltip_sgskip_thumb.png
:alt: SVG Tooltip
:ref:`sphx_glr_gallery_user_interfaces_svg_tooltip_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/svg_tooltip_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_toolmanager_sgskip_thumb.png
:alt: Tool Manager
:ref:`sphx_glr_gallery_user_interfaces_toolmanager_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/toolmanager_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/user_interfaces/images/thumb/sphx_glr_wxcursor_demo_sgskip_thumb.png
:alt: WXcursor Demo
:ref:`sphx_glr_gallery_user_interfaces_wxcursor_demo_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/user_interfaces/wxcursor_demo_sgskip
.. raw:: html
.. _sphx_glr_gallery_userdemo:
.. _userdemo:
Userdemo
========
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_anchored_box01_thumb.png
:alt: Anchored Box01
:ref:`sphx_glr_gallery_userdemo_anchored_box01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/anchored_box01
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_anchored_box02_thumb.png
:alt: Anchored Box02
:ref:`sphx_glr_gallery_userdemo_anchored_box02.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/anchored_box02
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_anchored_box03_thumb.png
:alt: Anchored Box03
:ref:`sphx_glr_gallery_userdemo_anchored_box03.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/anchored_box03
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_anchored_box04_thumb.png
:alt: Anchored Box04
:ref:`sphx_glr_gallery_userdemo_anchored_box04.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/anchored_box04
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_annotate_explain_thumb.png
:alt: Annotate Explain
:ref:`sphx_glr_gallery_userdemo_annotate_explain.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/annotate_explain
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple01_thumb.png
:alt: Annotate Simple01
:ref:`sphx_glr_gallery_userdemo_annotate_simple01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/annotate_simple01
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple02_thumb.png
:alt: Annotate Simple02
:ref:`sphx_glr_gallery_userdemo_annotate_simple02.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/annotate_simple02
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple03_thumb.png
:alt: Annotate Simple03
:ref:`sphx_glr_gallery_userdemo_annotate_simple03.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/annotate_simple03
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple04_thumb.png
:alt: Annotate Simple04
:ref:`sphx_glr_gallery_userdemo_annotate_simple04.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/annotate_simple04
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple_coord01_thumb.png
:alt: Annotate Simple Coord01
:ref:`sphx_glr_gallery_userdemo_annotate_simple_coord01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/annotate_simple_coord01
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple_coord02_thumb.png
:alt: Annotate Simple Coord02
:ref:`sphx_glr_gallery_userdemo_annotate_simple_coord02.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/annotate_simple_coord02
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple_coord03_thumb.png
:alt: Annotate Simple Coord03
:ref:`sphx_glr_gallery_userdemo_annotate_simple_coord03.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/annotate_simple_coord03
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_annotate_text_arrow_thumb.png
:alt: Annotate Text Arrow
:ref:`sphx_glr_gallery_userdemo_annotate_text_arrow.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/annotate_text_arrow
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_colormap_normalizations_thumb.png
:alt: Colormap Normalizations
:ref:`sphx_glr_gallery_userdemo_colormap_normalizations.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/colormap_normalizations
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_colormap_normalizations_symlognorm_thumb.png
:alt: Colormap Normalizations Symlognorm
:ref:`sphx_glr_gallery_userdemo_colormap_normalizations_symlognorm.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/colormap_normalizations_symlognorm
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_connect_simple01_thumb.png
:alt: Connect Simple01
:ref:`sphx_glr_gallery_userdemo_connect_simple01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/connect_simple01
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_connectionstyle_demo_thumb.png
:alt: Connectionstyle Demo
:ref:`sphx_glr_gallery_userdemo_connectionstyle_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/connectionstyle_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_custom_boxstyle01_thumb.png
:alt: Custom box styles
:ref:`sphx_glr_gallery_userdemo_custom_boxstyle01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/custom_boxstyle01
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_demo_gridspec01_thumb.png
:alt: subplot2grid demo
:ref:`sphx_glr_gallery_userdemo_demo_gridspec01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/demo_gridspec01
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_demo_gridspec03_thumb.png
:alt: GridSpec demo
:ref:`sphx_glr_gallery_userdemo_demo_gridspec03.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/demo_gridspec03
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_demo_gridspec06_thumb.png
:alt: Nested GridSpecs
:ref:`sphx_glr_gallery_userdemo_demo_gridspec06.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/demo_gridspec06
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_pgf_fonts_thumb.png
:alt: Pgf Fonts
:ref:`sphx_glr_gallery_userdemo_pgf_fonts.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/pgf_fonts
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_pgf_preamble_sgskip_thumb.png
:alt: Pgf Preamble
:ref:`sphx_glr_gallery_userdemo_pgf_preamble_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/pgf_preamble_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_pgf_texsystem_thumb.png
:alt: Pgf Texsystem
:ref:`sphx_glr_gallery_userdemo_pgf_texsystem.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/pgf_texsystem
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_simple_annotate01_thumb.png
:alt: Simple Annotate01
:ref:`sphx_glr_gallery_userdemo_simple_annotate01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/simple_annotate01
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_simple_legend01_thumb.png
:alt: Simple Legend01
:ref:`sphx_glr_gallery_userdemo_simple_legend01.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/simple_legend01
.. raw:: html
.. only:: html
.. figure:: /gallery/userdemo/images/thumb/sphx_glr_simple_legend02_thumb.png
:alt: Simple Legend02
:ref:`sphx_glr_gallery_userdemo_simple_legend02.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/userdemo/simple_legend02
.. raw:: html
.. _sphx_glr_gallery_widgets:
Widgets
=======
Examples of how to write primitive, but GUI agnostic, widgets in
matplotlib
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_buttons_thumb.png
:alt: Buttons
:ref:`sphx_glr_gallery_widgets_buttons.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/buttons
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_check_buttons_thumb.png
:alt: Check Buttons
:ref:`sphx_glr_gallery_widgets_check_buttons.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/check_buttons
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_cursor_thumb.png
:alt: Cursor
:ref:`sphx_glr_gallery_widgets_cursor.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/cursor
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_lasso_selector_demo_sgskip_thumb.png
:alt: Lasso Selector Demo
:ref:`sphx_glr_gallery_widgets_lasso_selector_demo_sgskip.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/lasso_selector_demo_sgskip
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_menu_thumb.png
:alt: Menu
:ref:`sphx_glr_gallery_widgets_menu.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/menu
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_multicursor_thumb.png
:alt: Multicursor
:ref:`sphx_glr_gallery_widgets_multicursor.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/multicursor
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_polygon_selector_demo_thumb.png
:alt: Polygon Selector Demo
:ref:`sphx_glr_gallery_widgets_polygon_selector_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/polygon_selector_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_radio_buttons_thumb.png
:alt: Radio Buttons
:ref:`sphx_glr_gallery_widgets_radio_buttons.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/radio_buttons
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_rectangle_selector_thumb.png
:alt: Rectangle Selector
:ref:`sphx_glr_gallery_widgets_rectangle_selector.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/rectangle_selector
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_slider_demo_thumb.png
:alt: Slider Demo
:ref:`sphx_glr_gallery_widgets_slider_demo.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/slider_demo
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_span_selector_thumb.png
:alt: Span Selector
:ref:`sphx_glr_gallery_widgets_span_selector.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/span_selector
.. raw:: html
.. only:: html
.. figure:: /gallery/widgets/images/thumb/sphx_glr_textbox_thumb.png
:alt: Textbox
:ref:`sphx_glr_gallery_widgets_textbox.py`
.. raw:: html
.. toctree::
:hidden:
/gallery/widgets/textbox
.. raw:: html
.. only :: html
.. container:: sphx-glr-footer
:class: sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: gallery_python.zip /mpl_source/doc/gallery/gallery_python.zip>`
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: gallery_jupyter.zip /mpl_source/doc/gallery/gallery_jupyter.zip>`
.. only:: html
.. rst-class:: sphx-glr-signature
Keywords: matplotlib code example, codex, python plot, pyplot
`Gallery generated by Sphinx-Gallery
`_