Skip to content

Latest commit

 

History

History
9362 lines (4923 loc) · 231 KB

File metadata and controls

9362 lines (4923 loc) · 231 KB
orphan:

Examples

This page contains example plots. Click on any image to see the full image and source code.

For longer tutorials, see our :ref:`tutorials page <tutorials>`. You can also find :ref:`external resources <resources-index>` and a :ref:`FAQ <faq-index>` in our :ref:`user guide <users-guide-index>`.

Lines, bars and markers

.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_bar_colors_thumb.png
    :alt: Bar color demo

  :ref:`sphx_glr_gallery_lines_bars_and_markers_bar_colors.py`
Bar color demo
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_bar_label_demo_thumb.png
    :alt: Bar Label Demo

  :ref:`sphx_glr_gallery_lines_bars_and_markers_bar_label_demo.py`
Bar Label Demo
.. only:: html

  .. image:: /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`
Stacked bar chart
.. only:: html

  .. image:: /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`
Grouped bar chart with labels
.. only:: html

  .. image:: /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`
Horizontal bar chart
.. only:: html

  .. image:: /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`
Broken Barh
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_capstyle_thumb.png
    :alt: CapStyle

  :ref:`sphx_glr_gallery_lines_bars_and_markers_capstyle.py`
CapStyle
.. only:: html

  .. image:: /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`
Plotting categorical variables
.. only:: html

  .. image:: /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`
Plotting the coherence of two signals
.. only:: html

  .. image:: /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`
CSD Demo
.. only:: html

  .. image:: /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`
Curve with error band
.. only:: html

  .. image:: /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`
Errorbar limit selection
.. only:: html

  .. image:: /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`
Errorbar subsampling
.. only:: html

  .. image:: /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`
EventCollection Demo
.. only:: html

  .. image:: /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`
Eventplot demo
.. only:: html

  .. image:: /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`
Filled polygon
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_fill_between_alpha_thumb.png
    :alt: Fill Between and Alpha

  :ref:`sphx_glr_gallery_lines_bars_and_markers_fill_between_alpha.py`
Fill Between and Alpha
.. only:: html

  .. image:: /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`
Filling the area between lines
.. only:: html

  .. image:: /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`
Fill Betweenx Demo
.. only:: html

  .. image:: /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`
Hatch-filled histograms
.. only:: html

  .. image:: /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`
Bar chart with gradients
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_hat_graph_thumb.png
    :alt: Hat graph

  :ref:`sphx_glr_gallery_lines_bars_and_markers_hat_graph.py`
Hat graph
.. only:: html

  .. image:: /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`
Discrete distribution as horizontal bar chart
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_joinstyle_thumb.png
    :alt: JoinStyle

  :ref:`sphx_glr_gallery_lines_bars_and_markers_joinstyle.py`
JoinStyle
.. only:: html

  .. image:: /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`
Customizing dashed line styles
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_lines_with_ticks_demo_thumb.png
    :alt: Lines with a ticked patheffect

  :ref:`sphx_glr_gallery_lines_bars_and_markers_lines_with_ticks_demo.py`
Lines with a ticked patheffect
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_linestyles_thumb.png
    :alt: Linestyles

  :ref:`sphx_glr_gallery_lines_bars_and_markers_linestyles.py`
Linestyles
.. only:: html

  .. image:: /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`
Marker reference
.. only:: html

  .. image:: /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`
Markevery Demo
.. only:: html

  .. image:: /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`
Plotting masked and NaN values
.. only:: html

  .. image:: /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`
Multicolored lines
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_multivariate_marker_plot_thumb.png
    :alt: Mapping marker properties to multivariate data

  :ref:`sphx_glr_gallery_lines_bars_and_markers_multivariate_marker_plot.py`
Mapping marker properties to multivariate data
.. only:: html

  .. image:: /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`
Psd Demo
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_custom_symbol_thumb.png
    :alt: Scatter plots with custom symbols

  :ref:`sphx_glr_gallery_lines_bars_and_markers_scatter_custom_symbol.py`
Scatter plots with custom symbols
.. only:: html

  .. image:: /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`
Scatter Demo2
.. only:: html

  .. image:: /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`
Scatter plot with histograms
.. only:: html

  .. image:: /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`
Scatter Masked
.. only:: html

  .. image:: /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`
Marker examples
.. only:: html

  .. image:: /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`
Scatter plots with a legend
.. only:: html

  .. image:: /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`
Simple Plot
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_span_regions_thumb.png
    :alt: Shade regions defined by a logical mask using fill_between

  :ref:`sphx_glr_gallery_lines_bars_and_markers_span_regions.py`
Shade regions defined by a logical mask using fill_between
.. only:: html

  .. image:: /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`
Spectrum Representations
.. only:: html

  .. image:: /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`
Stackplots and streamgraphs
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_stairs_demo_thumb.png
    :alt: Stairs Demo

  :ref:`sphx_glr_gallery_lines_bars_and_markers_stairs_demo.py`
Stairs Demo
.. only:: html

  .. image:: /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`
Stem Plot
.. only:: html

  .. image:: /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`
Step Demo
.. only:: html

  .. image:: /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`
Creating a timeline with lines, dates, and text
.. only:: html

  .. image:: /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`
hlines and vlines
.. only:: html

  .. image:: /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`
Cross- and Auto-Correlation Demo

Images, contours and fields

.. only:: html

  .. image:: /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`
Affine transform of an image
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_barb_demo_thumb.png
    :alt: Wind Barbs

  :ref:`sphx_glr_gallery_images_contours_and_fields_barb_demo.py`
Wind Barbs
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_barcode_demo_thumb.png
    :alt: Barcode

  :ref:`sphx_glr_gallery_images_contours_and_fields_barcode_demo.py`
Barcode
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_colormap_interactive_adjustment_thumb.png
    :alt: Interactive Adjustment of Colormap Range

  :ref:`sphx_glr_gallery_images_contours_and_fields_colormap_interactive_adjustment.py`
Interactive Adjustment of Colormap Range
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_colormap_normalizations_thumb.png
    :alt: Colormap normalizations

  :ref:`sphx_glr_gallery_images_contours_and_fields_colormap_normalizations.py`
Colormap normalizations
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_colormap_normalizations_symlognorm_thumb.png
    :alt: Colormap normalizations SymLogNorm

  :ref:`sphx_glr_gallery_images_contours_and_fields_colormap_normalizations_symlognorm.py`
Colormap normalizations SymLogNorm
.. only:: html

  .. image:: /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`
Contour Corner Mask
.. only:: html

  .. image:: /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`
Contour Demo
.. only:: html

  .. image:: /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`
Contour Image
.. only:: html

  .. image:: /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`
Contour Label Demo
.. only:: html

  .. image:: /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`
Contourf demo
.. only:: html

  .. image:: /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`
Contourf Hatching
.. only:: html

  .. image:: /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`
Contourf and log color scale
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_contours_in_optimization_demo_thumb.png
    :alt: Contouring the solution space of optimizations

  :ref:`sphx_glr_gallery_images_contours_and_fields_contours_in_optimization_demo.py`
Contouring the solution space of optimizations
.. only:: html

  .. image:: /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`
BboxImage Demo
.. only:: html

  .. image:: /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`
Figimage Demo
.. only:: html

  .. image:: /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`
Creating annotated heatmaps
.. only:: html

  .. image:: /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`
Image antialiasing
.. only:: html

  .. image:: /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`
Clipping images with patches
.. only:: html

  .. image:: /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`
Image demo
.. only:: html

  .. image:: /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`
Image Masked
.. only:: html

  .. image:: /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`
Image nonuniform
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_transparency_blend_thumb.png
    :alt: Blend transparency with color in 2D images

  :ref:`sphx_glr_gallery_images_contours_and_fields_image_transparency_blend.py`
Blend transparency with color in 2D images
.. only:: html

  .. image:: /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`
Modifying the coordinate formatter
.. only:: html

  .. image:: /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`
Interpolations for imshow
.. only:: html

  .. image:: /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`
Contour plot of irregularly spaced data
.. only:: html

  .. image:: /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`
Layer Images
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_matshow_thumb.png
    :alt: Visualize matrices with matshow

  :ref:`sphx_glr_gallery_images_contours_and_fields_matshow.py`
Visualize matrices with matshow
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_multi_image_thumb.png
    :alt: Multiple images

  :ref:`sphx_glr_gallery_images_contours_and_fields_multi_image.py`
Multiple images
.. only:: html

  .. image:: /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`
Pcolor demo
.. only:: html

  .. image:: /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`
pcolormesh grids and shading
.. only:: html

  .. image:: /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`
pcolormesh
.. only:: html

  .. image:: /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`
Streamplot
.. only:: html

  .. image:: /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`
QuadMesh Demo
.. only:: html

  .. image:: /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`
Advanced quiver and quiverkey functions
.. only:: html

  .. image:: /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`
Quiver Simple Demo
.. only:: html

  .. image:: /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`
Shading example
.. only:: html

  .. image:: /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`
Spectrogram Demo
.. only:: html

  .. image:: /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`
Spy Demos
.. only:: html

  .. image:: /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`
Tricontour Demo
.. only:: html

  .. image:: /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`
Tricontour Smooth Delaunay
.. only:: html

  .. image:: /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`
Tricontour Smooth User
.. only:: html

  .. image:: /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`
Trigradient Demo
.. only:: html

  .. image:: /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`
Triinterp Demo
.. only:: html

  .. image:: /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`
Tripcolor Demo
.. only:: html

  .. image:: /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`
Triplot Demo
.. only:: html

  .. image:: /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`
Watermark image

Subplots, axes and figures

.. only:: html

  .. image:: /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`
Aligning Labels
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_auto_subplots_adjust_thumb.png
    :alt: Programmatically controlling subplot adjustment

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_auto_subplots_adjust.py`
Programmatically controlling subplot adjustment
.. only:: html

  .. image:: /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`
Axes box aspect
.. only:: html

  .. image:: /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`
Axes Demo
.. only:: html

  .. image:: /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`
Controlling view limits using margins and sticky_edges
.. only:: html

  .. image:: /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`
Axes Props
.. only:: html

  .. image:: /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`
Axes Zoom Effect
.. only:: html

  .. image:: /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`
axhspan Demo
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_axis_equal_demo_thumb.png
    :alt: Equal axis aspect ratio

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_axis_equal_demo.py`
Equal axis aspect ratio
.. only:: html

  .. image:: /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`
Axis Label Position
.. only:: html

  .. image:: /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`
Broken Axis
.. only:: html

  .. image:: /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`
Placing Colorbars
.. only:: html

  .. image:: /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`
Custom Figure subclasses
.. only:: html

  .. image:: /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`
Resizing axes with constrained layout
.. only:: html

  .. image:: /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`
Resizing axes with tight layout
.. only:: html

  .. image:: /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`
Different scales on the same axes
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_figure_size_units_thumb.png
    :alt: Figure size in different units

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_figure_size_units.py`
Figure size in different units
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_figure_title_thumb.png
    :alt: Figure labels: suptitle, supxlabel, supylabel

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_figure_title.py`
Figure labels: suptitle, supxlabel, supylabel
.. only:: html

  .. image:: /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`
Creating adjacent subplots
.. only:: html

  .. image:: /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`
Geographic Projections
.. only:: html

  .. image:: /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`
Combining two subplots using subplots and GridSpec
.. only:: html

  .. image:: /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`
Using Gridspec to make multi-column/row subplot layouts
.. only:: html

  .. image:: /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`
Nested Gridspecs
.. only:: html

  .. image:: /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`
Invert Axes
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_mosaic_thumb.png
    :alt: Complex and semantic figure composition (subplot_mosaic)

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_mosaic.py`
Complex and semantic figure composition (subplot_mosaic)
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_multiple_figs_demo_thumb.png
    :alt: Managing multiple figures in pyplot

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_multiple_figs_demo.py`
Managing multiple figures in pyplot
.. only:: html

  .. image:: /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`
Secondary Axis
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_share_axis_lims_views_thumb.png
    :alt: Sharing axis limits and views

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_share_axis_lims_views.py`
Sharing axis limits and views
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_shared_axis_demo_thumb.png
    :alt: Shared axis

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_shared_axis_demo.py`
Shared axis
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_subfigures_thumb.png
    :alt: Figure subfigures

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_subfigures.py`
Figure subfigures
.. only:: html

  .. image:: /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`
Multiple subplots
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_subplots_adjust_thumb.png
    :alt: Subplots spacings and margins

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_subplots_adjust.py`
Subplots spacings and margins
.. only:: html

  .. image:: /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`
Creating multiple subplots using ``plt.subplots``
.. only:: html

  .. image:: /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`
Plots with different scales
.. only:: html

  .. image:: /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`
Zoom region inset axes

Statistics

.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_barchart_demo_thumb.png
    :alt: Percentiles as horizontal bar chart

  :ref:`sphx_glr_gallery_statistics_barchart_demo.py`
Percentiles as horizontal bar chart
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_boxplot_thumb.png
    :alt: Artist customization in box plots

  :ref:`sphx_glr_gallery_statistics_boxplot.py`
Artist customization in box plots
.. only:: html

  .. image:: /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`
Box plots with custom fill colors
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_boxplot_demo_thumb.png
    :alt: Boxplots

  :ref:`sphx_glr_gallery_statistics_boxplot_demo.py`
Boxplots
.. only:: html

  .. image:: /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`
Box plot vs. violin plot comparison
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_bxp_thumb.png
    :alt: Boxplot drawer function

  :ref:`sphx_glr_gallery_statistics_bxp.py`
Boxplot drawer function
.. only:: html

  .. image:: /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`
Plot a confidence ellipse of a two-dimensional dataset
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_customized_violin_thumb.png
    :alt: Violin plot customization

  :ref:`sphx_glr_gallery_statistics_customized_violin.py`
Violin plot customization
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_errorbar_thumb.png
    :alt: Errorbar function

  :ref:`sphx_glr_gallery_statistics_errorbar.py`
Errorbar function
.. only:: html

  .. image:: /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`
Different ways of specifying error bars
.. only:: html

  .. image:: /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`
Including upper and lower limits in error bars
.. only:: html

  .. image:: /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`
Creating boxes from error bars using PatchCollection
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_hexbin_demo_thumb.png
    :alt: Hexagonal binned plot

  :ref:`sphx_glr_gallery_statistics_hexbin_demo.py`
Hexagonal binned plot
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_hist_thumb.png
    :alt: Histograms

  :ref:`sphx_glr_gallery_statistics_hist.py`
Histograms
.. only:: html

  .. image:: /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`
Using histograms to plot a cumulative distribution
.. only:: html

  .. image:: /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`
Some features of the histogram (hist) function
.. only:: html

  .. image:: /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`
Demo of the histogram function's different ``histtype`` settings
.. only:: html

  .. image:: /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`
The histogram (hist) function with multiple data sets
.. only:: html

  .. image:: /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`
Producing multiple histograms side by side
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_time_series_histogram_thumb.png
    :alt: Time Series Histogram

  :ref:`sphx_glr_gallery_statistics_time_series_histogram.py`
Time Series Histogram
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_violinplot_thumb.png
    :alt: Violin plot basics

  :ref:`sphx_glr_gallery_statistics_violinplot.py`
Violin plot basics

Pie and polar charts

.. only:: html

  .. image:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_pie_features_thumb.png
    :alt: Pie charts

  :ref:`sphx_glr_gallery_pie_and_polar_charts_pie_features.py`
Pie charts
.. only:: html

  .. image:: /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`
Pie Demo2
.. only:: html

  .. image:: /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`
Bar of pie
.. only:: html

  .. image:: /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`
Nested pie charts
.. only:: html

  .. image:: /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`
Labeling a pie and a donut
.. only:: html

  .. image:: /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`
Bar chart on polar axis
.. only:: html

  .. image:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_polar_demo_thumb.png
    :alt: Polar plot

  :ref:`sphx_glr_gallery_pie_and_polar_charts_polar_demo.py`
Polar plot
.. only:: html

  .. image:: /gallery/pie_and_polar_charts/images/thumb/sphx_glr_polar_error_caps_thumb.png
    :alt: Error bar rendering on polar axis

  :ref:`sphx_glr_gallery_pie_and_polar_charts_polar_error_caps.py`
Error bar rendering on polar axis
.. only:: html

  .. image:: /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`
Polar legend
.. only:: html

  .. image:: /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`
Scatter plot on polar axis

Text, labels and annotations

.. only:: html

  .. image:: /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`
Using accented text in Matplotlib
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_align_ylabels_thumb.png
    :alt: Align y-labels

  :ref:`sphx_glr_gallery_text_labels_and_annotations_align_ylabels.py`
Align y-labels
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_angle_annotation_thumb.png
    :alt: Scale invariant angle label

  :ref:`sphx_glr_gallery_text_labels_and_annotations_angle_annotation.py`
Scale invariant angle label
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_angles_on_bracket_arrows_thumb.png
    :alt: Angle annotations on bracket arrows

  :ref:`sphx_glr_gallery_text_labels_and_annotations_angles_on_bracket_arrows.py`
Angle annotations on bracket arrows
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_annotate_transform_thumb.png
    :alt: Annotate Transform

  :ref:`sphx_glr_gallery_text_labels_and_annotations_annotate_transform.py`
Annotate Transform
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_annotation_basic_thumb.png
    :alt: Annotating a plot

  :ref:`sphx_glr_gallery_text_labels_and_annotations_annotation_basic.py`
Annotating a plot
.. only:: html

  .. image:: /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`
Annotating Plots
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_annotation_polar_thumb.png
    :alt: Annotation Polar

  :ref:`sphx_glr_gallery_text_labels_and_annotations_annotation_polar.py`
Annotation Polar
.. only:: html

  .. image:: /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`
Arrow Demo
.. only:: html

  .. image:: /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`
Auto-wrapping text
.. only:: html

  .. image:: /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`
Composing Custom Legends
.. only:: html

  .. image:: /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`
Date tick labels
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_demo_annotation_box_thumb.png
    :alt: AnnotationBbox demo

  :ref:`sphx_glr_gallery_text_labels_and_annotations_demo_annotation_box.py`
AnnotationBbox demo
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_demo_text_path_thumb.png
    :alt: Using a text as a Path

  :ref:`sphx_glr_gallery_text_labels_and_annotations_demo_text_path.py`
Using a text as a Path
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_demo_text_rotation_mode_thumb.png
    :alt: Text Rotation Mode

  :ref:`sphx_glr_gallery_text_labels_and_annotations_demo_text_rotation_mode.py`
Text Rotation Mode
.. only:: html

  .. image:: /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`
The difference between \\dfrac and \\frac
.. only:: html

  .. image:: /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`
Labeling ticks using engineering notation
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fancyarrow_demo_thumb.png
    :alt: Annotation arrow style reference

  :ref:`sphx_glr_gallery_text_labels_and_annotations_fancyarrow_demo.py`
Annotation arrow style reference
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fancytextbox_demo_thumb.png
    :alt: Styling text boxes

  :ref:`sphx_glr_gallery_text_labels_and_annotations_fancytextbox_demo.py`
Styling text boxes
.. only:: html

  .. image:: /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`
Figure legend demo
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_font_family_rc_thumb.png
    :alt: Configuring the font family

  :ref:`sphx_glr_gallery_text_labels_and_annotations_font_family_rc.py`
Configuring the font family
.. only:: html

  .. image:: /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`
Using a ttf font file in Matplotlib
.. only:: html

  .. image:: /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`
Font table
.. only:: html

  .. image:: /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`
Fonts demo (object-oriented style)
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fonts_demo_kw_thumb.png
    :alt: Fonts demo (keyword arguments)

  :ref:`sphx_glr_gallery_text_labels_and_annotations_fonts_demo_kw.py`
Fonts demo (keyword arguments)
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_label_subplots_thumb.png
    :alt: Labelling subplots

  :ref:`sphx_glr_gallery_text_labels_and_annotations_label_subplots.py`
Labelling subplots
.. only:: html

  .. image:: /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`
Legend using pre-defined labels
.. only:: html

  .. image:: /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`
Legend Demo
.. only:: html

  .. image:: /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`
Artist within an artist
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_asarray_thumb.png
    :alt: Convert texts to images

  :ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_asarray.py`
Convert texts to images
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_demo_thumb.png
    :alt: Mathtext

  :ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_demo.py`
Mathtext
.. only:: html

  .. image:: /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`
Mathtext Examples
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_fontfamily_example_thumb.png
    :alt: Math fontfamily

  :ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_fontfamily_example.py`
Math fontfamily
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_multiline_thumb.png
    :alt: Multiline

  :ref:`sphx_glr_gallery_text_labels_and_annotations_multiline.py`
Multiline
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_placing_text_boxes_thumb.png
    :alt: Placing text boxes

  :ref:`sphx_glr_gallery_text_labels_and_annotations_placing_text_boxes.py`
Placing text boxes
.. only:: html

  .. image:: /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`
Rainbow text
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_stix_fonts_demo_thumb.png
    :alt: STIX Fonts

  :ref:`sphx_glr_gallery_text_labels_and_annotations_stix_fonts_demo.py`
STIX Fonts
.. only:: html

  .. image:: /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`
Rendering math equations using TeX
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_alignment_thumb.png
    :alt: Text alignment

  :ref:`sphx_glr_gallery_text_labels_and_annotations_text_alignment.py`
Text alignment
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_commands_thumb.png
    :alt: Text Commands

  :ref:`sphx_glr_gallery_text_labels_and_annotations_text_commands.py`
Text Commands
.. only:: html

  .. image:: /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`
Controlling style of text and labels using a dictionary
.. only:: html

  .. image:: /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`
Text Rotation Relative To Line
.. only:: html

  .. image:: /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`
Title positioning
.. only:: html

  .. image:: /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`
Unicode minus
.. only:: html

  .. image:: /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`
Usetex Baseline Test
.. only:: html

  .. image:: /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`
Usetex Fonteffects
.. only:: html

  .. image:: /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`
Text watermark

The pyplot module

.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_axline_thumb.png
    :alt: Infinite lines

  :ref:`sphx_glr_gallery_pyplots_axline.py`
Infinite lines
.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_simple_thumb.png
    :alt: Simple plot

  :ref:`sphx_glr_gallery_pyplots_pyplot_simple.py`
Simple plot
.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_text_thumb.png
    :alt: Text and mathtext using pyplot

  :ref:`sphx_glr_gallery_pyplots_pyplot_text.py`
Text and mathtext using pyplot
.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_three_thumb.png
    :alt: Multiple lines using pyplot

  :ref:`sphx_glr_gallery_pyplots_pyplot_three.py`
Multiple lines using pyplot
.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_two_subplots_thumb.png
    :alt: Two subplots using pyplot

  :ref:`sphx_glr_gallery_pyplots_pyplot_two_subplots.py`
Two subplots using pyplot

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 <tutorials-colors>`.

.. only:: html

  .. image:: /gallery/color/images/thumb/sphx_glr_color_demo_thumb.png
    :alt: Color Demo

  :ref:`sphx_glr_gallery_color_color_demo.py`
Color Demo
.. only:: html

  .. image:: /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`
Color by y-value
.. only:: html

  .. image:: /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`
Colors in the default property cycle
.. only:: html

  .. image:: /gallery/color/images/thumb/sphx_glr_colorbar_basics_thumb.png
    :alt: Colorbar

  :ref:`sphx_glr_gallery_color_colorbar_basics.py`
Colorbar
.. only:: html

  .. image:: /gallery/color/images/thumb/sphx_glr_colormap_reference_thumb.png
    :alt: Colormap reference

  :ref:`sphx_glr_gallery_color_colormap_reference.py`
Colormap reference
.. only:: html

  .. image:: /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`
Creating a colormap from a list of colors
.. only:: html

  .. image:: /gallery/color/images/thumb/sphx_glr_named_colors_thumb.png
    :alt: List of named colors

  :ref:`sphx_glr_gallery_color_named_colors.py`
List of named colors

Shapes and collections

.. only:: html

  .. image:: /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`
Arrow guide
.. only:: html

  .. image:: /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`
Reference for Matplotlib artists
.. only:: html

  .. image:: /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`
Line, Poly and RegularPoly Collection with autoscaling
.. only:: html

  .. image:: /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`
Compound path
.. only:: html

  .. image:: /gallery/shapes_and_collections/images/thumb/sphx_glr_dolphin_thumb.png
    :alt: Dolphins

  :ref:`sphx_glr_gallery_shapes_and_collections_dolphin.py`
Dolphins
.. only:: html

  .. image:: /gallery/shapes_and_collections/images/thumb/sphx_glr_donut_thumb.png
    :alt: Mmh Donuts!!!

  :ref:`sphx_glr_gallery_shapes_and_collections_donut.py`
Mmh Donuts!!!
.. only:: html

  .. image:: /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`
Ellipse Collection
.. only:: html

  .. image:: /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`
Ellipse Demo
.. only:: html

  .. image:: /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`
Drawing fancy boxes
.. only:: html

  .. image:: /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`
Hatch demo
.. only:: html

  .. image:: /gallery/shapes_and_collections/images/thumb/sphx_glr_hatch_style_reference_thumb.png
    :alt: Hatch style reference

  :ref:`sphx_glr_gallery_shapes_and_collections_hatch_style_reference.py`
Hatch style reference
.. only:: html

  .. image:: /gallery/shapes_and_collections/images/thumb/sphx_glr_line_collection_thumb.png
    :alt: Plotting multiple lines with a LineCollection

  :ref:`sphx_glr_gallery_shapes_and_collections_line_collection.py`
Plotting multiple lines with a LineCollection
.. only:: html

  .. image:: /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`
Circles, Wedges and Polygons
.. only:: html

  .. image:: /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`
PathPatch object
.. only:: html

  .. image:: /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`
Bezier Curve
.. only:: html

  .. image:: /gallery/shapes_and_collections/images/thumb/sphx_glr_scatter_thumb.png
    :alt: Scatter plot

  :ref:`sphx_glr_gallery_shapes_and_collections_scatter.py`
Scatter plot

Style sheets

.. only:: html

  .. image:: /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`
Bayesian Methods for Hackers style sheet
.. only:: html

  .. image:: /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`
Dark background style sheet
.. only:: html

  .. image:: /gallery/style_sheets/images/thumb/sphx_glr_fivethirtyeight_thumb.png
    :alt: FiveThirtyEight style sheet

  :ref:`sphx_glr_gallery_style_sheets_fivethirtyeight.py`
FiveThirtyEight style sheet
.. only:: html

  .. image:: /gallery/style_sheets/images/thumb/sphx_glr_ggplot_thumb.png
    :alt: ggplot style sheet

  :ref:`sphx_glr_gallery_style_sheets_ggplot.py`
ggplot style sheet
.. only:: html

  .. image:: /gallery/style_sheets/images/thumb/sphx_glr_grayscale_thumb.png
    :alt: Grayscale style sheet

  :ref:`sphx_glr_gallery_style_sheets_grayscale.py`
Grayscale style sheet
.. only:: html

  .. image:: /gallery/style_sheets/images/thumb/sphx_glr_plot_solarizedlight2_thumb.png
    :alt: Solarized Light stylesheet

  :ref:`sphx_glr_gallery_style_sheets_plot_solarizedlight2.py`
Solarized Light stylesheet
.. only:: html

  .. image:: /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`
Style sheets reference

The axes_grid1 module

.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_anchored_direction_arrows_thumb.png
    :alt: Anchored Direction Arrow

  :ref:`sphx_glr_gallery_axes_grid1_demo_anchored_direction_arrows.py`
Anchored Direction Arrow
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_axes_divider_thumb.png
    :alt: Axes divider

  :ref:`sphx_glr_gallery_axes_grid1_demo_axes_divider.py`
Axes divider
.. only:: html

  .. image:: /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`
Demo Axes Grid
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_axes_grid2_thumb.png
    :alt: Axes Grid2

  :ref:`sphx_glr_gallery_axes_grid1_demo_axes_grid2.py`
Axes Grid2
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_axes_hbox_divider_thumb.png
    :alt: HBoxDivider and VBoxDivider demo

  :ref:`sphx_glr_gallery_axes_grid1_demo_axes_hbox_divider.py`
HBoxDivider and VBoxDivider demo
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_axes_rgb_thumb.png
    :alt: Showing RGB channels using RGBAxes

  :ref:`sphx_glr_gallery_axes_grid1_demo_axes_rgb.py`
Showing RGB channels using RGBAxes
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_colorbar_of_inset_axes_thumb.png
    :alt: Adding a colorbar to inset axes

  :ref:`sphx_glr_gallery_axes_grid1_demo_colorbar_of_inset_axes.py`
Adding a colorbar to inset axes
.. only:: html

  .. image:: /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`
Colorbar with `.AxesDivider`
.. only:: html

  .. image:: /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`
Controlling the position and size of colorbars with Inset Axes
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_edge_colorbar_thumb.png
    :alt: Per-row or per-column colorbars

  :ref:`sphx_glr_gallery_axes_grid1_demo_edge_colorbar.py`
Per-row or per-column colorbars
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_fixed_size_axes_thumb.png
    :alt: Axes with a fixed physical size

  :ref:`sphx_glr_gallery_axes_grid1_demo_fixed_size_axes.py`
Axes with a fixed physical size
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_imagegrid_aspect_thumb.png
    :alt: Setting a fixed aspect on ImageGrid cells

  :ref:`sphx_glr_gallery_axes_grid1_demo_imagegrid_aspect.py`
Setting a fixed aspect on ImageGrid cells
.. only:: html

  .. image:: /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`
Inset locator demo
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_inset_locator_demo2_thumb.png
    :alt: Inset locator demo 2

  :ref:`sphx_glr_gallery_axes_grid1_inset_locator_demo2.py`
Inset locator demo 2
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_make_room_for_ylabel_using_axesgrid_thumb.png
    :alt: Make room for ylabel using axes_grid

  :ref:`sphx_glr_gallery_axes_grid1_make_room_for_ylabel_using_axesgrid.py`
Make room for ylabel using axes_grid
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_parasite_simple_thumb.png
    :alt: Parasite Simple

  :ref:`sphx_glr_gallery_axes_grid1_parasite_simple.py`
Parasite Simple
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_parasite_simple2_thumb.png
    :alt: Parasite Simple2

  :ref:`sphx_glr_gallery_axes_grid1_parasite_simple2.py`
Parasite Simple2
.. only:: html

  .. image:: /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`
Scatter Histogram (Locatable Axes)
.. only:: html

  .. image:: /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`
Simple Anchored Artists
.. only:: html

  .. image:: /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`
Simple Axes Divider 1
.. only:: html

  .. image:: /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`
Simple axes divider 3
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_axesgrid_thumb.png
    :alt: Simple ImageGrid

  :ref:`sphx_glr_gallery_axes_grid1_simple_axesgrid.py`
Simple ImageGrid
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_axesgrid2_thumb.png
    :alt: Simple ImageGrid 2

  :ref:`sphx_glr_gallery_axes_grid1_simple_axesgrid2.py`
Simple ImageGrid 2
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_axisline4_thumb.png
    :alt: Simple Axisline4

  :ref:`sphx_glr_gallery_axes_grid1_simple_axisline4.py`
Simple Axisline4
.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_simple_colorbar_thumb.png
    :alt: Simple Colorbar

  :ref:`sphx_glr_gallery_axes_grid1_simple_colorbar.py`
Simple Colorbar

The axisartist module

.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_axis_direction_thumb.png
    :alt: Axis Direction

  :ref:`sphx_glr_gallery_axisartist_axis_direction.py`
Axis Direction
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_axis_direction_thumb.png
    :alt: axis_direction demo

  :ref:`sphx_glr_gallery_axisartist_demo_axis_direction.py`
axis_direction demo
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_axisline_style_thumb.png
    :alt: Axis line styles

  :ref:`sphx_glr_gallery_axisartist_demo_axisline_style.py`
Axis line styles
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_curvelinear_grid_thumb.png
    :alt: Curvilinear grid demo

  :ref:`sphx_glr_gallery_axisartist_demo_curvelinear_grid.py`
Curvilinear grid demo
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_curvelinear_grid2_thumb.png
    :alt: Demo CurveLinear Grid2

  :ref:`sphx_glr_gallery_axisartist_demo_curvelinear_grid2.py`
Demo CurveLinear Grid2
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_floating_axes_thumb.png
    :alt: ``floating_axes`` features

  :ref:`sphx_glr_gallery_axisartist_demo_floating_axes.py`
``floating_axes`` features
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_floating_axis_thumb.png
    :alt: floating_axis demo

  :ref:`sphx_glr_gallery_axisartist_demo_floating_axis.py`
floating_axis demo
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_parasite_axes_thumb.png
    :alt: Parasite Axes demo

  :ref:`sphx_glr_gallery_axisartist_demo_parasite_axes.py`
Parasite Axes demo
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_parasite_axes2_thumb.png
    :alt: Parasite axis demo

  :ref:`sphx_glr_gallery_axisartist_demo_parasite_axes2.py`
Parasite axis demo
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_ticklabel_alignment_thumb.png
    :alt: Ticklabel alignment

  :ref:`sphx_glr_gallery_axisartist_demo_ticklabel_alignment.py`
Ticklabel alignment
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_demo_ticklabel_direction_thumb.png
    :alt: Ticklabel direction

  :ref:`sphx_glr_gallery_axisartist_demo_ticklabel_direction.py`
Ticklabel direction
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_simple_axis_direction01_thumb.png
    :alt: Simple Axis Direction01

  :ref:`sphx_glr_gallery_axisartist_simple_axis_direction01.py`
Simple Axis Direction01
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_simple_axis_direction03_thumb.png
    :alt: Simple Axis Direction03

  :ref:`sphx_glr_gallery_axisartist_simple_axis_direction03.py`
Simple Axis Direction03
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_simple_axis_pad_thumb.png
    :alt: Simple Axis Pad

  :ref:`sphx_glr_gallery_axisartist_simple_axis_pad.py`
Simple Axis Pad
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_simple_axisartist1_thumb.png
    :alt: Custom spines with axisartist

  :ref:`sphx_glr_gallery_axisartist_simple_axisartist1.py`
Custom spines with axisartist
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_simple_axisline_thumb.png
    :alt: Simple Axisline

  :ref:`sphx_glr_gallery_axisartist_simple_axisline.py`
Simple Axisline
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_simple_axisline3_thumb.png
    :alt: Simple Axisline3

  :ref:`sphx_glr_gallery_axisartist_simple_axisline3.py`
Simple Axisline3

Showcase

.. only:: html

  .. image:: /gallery/showcase/images/thumb/sphx_glr_anatomy_thumb.png
    :alt: Anatomy of a figure

  :ref:`sphx_glr_gallery_showcase_anatomy.py`
Anatomy of a figure
.. only:: html

  .. image:: /gallery/showcase/images/thumb/sphx_glr_firefox_thumb.png
    :alt: Firefox

  :ref:`sphx_glr_gallery_showcase_firefox.py`
Firefox
.. only:: html

  .. image:: /gallery/showcase/images/thumb/sphx_glr_integral_thumb.png
    :alt: Integral as the area under a curve

  :ref:`sphx_glr_gallery_showcase_integral.py`
Integral as the area under a curve
.. only:: html

  .. image:: /gallery/showcase/images/thumb/sphx_glr_mandelbrot_thumb.png
    :alt: Shaded & power normalized rendering

  :ref:`sphx_glr_gallery_showcase_mandelbrot.py`
Shaded & power normalized rendering
.. only:: html

  .. image:: /gallery/showcase/images/thumb/sphx_glr_stock_prices_thumb.png
    :alt: Stock prices over 32 years

  :ref:`sphx_glr_gallery_showcase_stock_prices.py`
Stock prices over 32 years
.. only:: html

  .. image:: /gallery/showcase/images/thumb/sphx_glr_xkcd_thumb.png
    :alt: XKCD

  :ref:`sphx_glr_gallery_showcase_xkcd.py`
XKCD

Animation

.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_animate_decay_thumb.gif
    :alt: Decay

  :ref:`sphx_glr_gallery_animation_animate_decay.py`
Decay
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_animated_histogram_thumb.gif
    :alt: Animated histogram

  :ref:`sphx_glr_gallery_animation_animated_histogram.py`
Animated histogram
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_animation_demo_thumb.png
    :alt: pyplot animation

  :ref:`sphx_glr_gallery_animation_animation_demo.py`
pyplot animation
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_bayes_update_thumb.gif
    :alt: The Bayes update

  :ref:`sphx_glr_gallery_animation_bayes_update.py`
The Bayes update
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_double_pendulum_thumb.gif
    :alt: The double pendulum problem

  :ref:`sphx_glr_gallery_animation_double_pendulum.py`
The double pendulum problem
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_dynamic_image_thumb.gif
    :alt: Animated image using a precomputed list of images

  :ref:`sphx_glr_gallery_animation_dynamic_image.py`
Animated image using a precomputed list of images
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_frame_grabbing_sgskip_thumb.png
    :alt: Frame grabbing

  :ref:`sphx_glr_gallery_animation_frame_grabbing_sgskip.py`
Frame grabbing
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_multiple_axes_thumb.gif
    :alt: Multiple axes animation

  :ref:`sphx_glr_gallery_animation_multiple_axes.py`
Multiple axes animation
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_pause_resume_thumb.png
    :alt: Pausing and Resuming an Animation

  :ref:`sphx_glr_gallery_animation_pause_resume.py`
Pausing and Resuming an Animation
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_rain_thumb.gif
    :alt: Rain simulation

  :ref:`sphx_glr_gallery_animation_rain.py`
Rain simulation
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_random_walk_thumb.gif
    :alt: Animated 3D random walk

  :ref:`sphx_glr_gallery_animation_random_walk.py`
Animated 3D random walk
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_simple_anim_thumb.gif
    :alt: Animated line plot

  :ref:`sphx_glr_gallery_animation_simple_anim.py`
Animated line plot
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_simple_scatter_thumb.gif
    :alt: Animated scatter saved as GIF

  :ref:`sphx_glr_gallery_animation_simple_scatter.py`
Animated scatter saved as GIF
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_strip_chart_thumb.gif
    :alt: Oscilloscope

  :ref:`sphx_glr_gallery_animation_strip_chart.py`
Oscilloscope
.. only:: html

  .. image:: /gallery/animation/images/thumb/sphx_glr_unchained_thumb.gif
    :alt: MATPLOTLIB **UNCHAINED**

  :ref:`sphx_glr_gallery_animation_unchained.py`
MATPLOTLIB **UNCHAINED**

Event handling

Matplotlib supports :doc:`event handling</users/explain/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.

.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_close_event_thumb.png
    :alt: Close Event

  :ref:`sphx_glr_gallery_event_handling_close_event.py`
Close Event
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_coords_demo_thumb.png
    :alt: Mouse move and click events

  :ref:`sphx_glr_gallery_event_handling_coords_demo.py`
Mouse move and click events
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_cursor_demo_thumb.png
    :alt: Cross-hair cursor

  :ref:`sphx_glr_gallery_event_handling_cursor_demo.py`
Cross-hair cursor
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_data_browser_thumb.png
    :alt: Data browser

  :ref:`sphx_glr_gallery_event_handling_data_browser.py`
Data browser
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_figure_axes_enter_leave_thumb.png
    :alt: Figure/Axes enter and leave events

  :ref:`sphx_glr_gallery_event_handling_figure_axes_enter_leave.py`
Figure/Axes enter and leave events
.. only:: html

  .. image:: /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`
Interactive functions
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_image_slices_viewer_thumb.png
    :alt: Scroll event

  :ref:`sphx_glr_gallery_event_handling_image_slices_viewer.py`
Scroll event
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_keypress_demo_thumb.png
    :alt: Keypress event

  :ref:`sphx_glr_gallery_event_handling_keypress_demo.py`
Keypress event
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_lasso_demo_thumb.png
    :alt: Lasso Demo

  :ref:`sphx_glr_gallery_event_handling_lasso_demo.py`
Lasso Demo
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_legend_picking_thumb.png
    :alt: Legend picking

  :ref:`sphx_glr_gallery_event_handling_legend_picking.py`
Legend picking
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_looking_glass_thumb.png
    :alt: Looking Glass

  :ref:`sphx_glr_gallery_event_handling_looking_glass.py`
Looking Glass
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_path_editor_thumb.png
    :alt: Path editor

  :ref:`sphx_glr_gallery_event_handling_path_editor.py`
Path editor
.. only:: html

  .. image:: /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`
Pick event demo
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_pick_event_demo2_thumb.png
    :alt: Pick event demo 2

  :ref:`sphx_glr_gallery_event_handling_pick_event_demo2.py`
Pick event demo 2
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_poly_editor_thumb.png
    :alt: Poly Editor

  :ref:`sphx_glr_gallery_event_handling_poly_editor.py`
Poly Editor
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_pong_sgskip_thumb.png
    :alt: Pong

  :ref:`sphx_glr_gallery_event_handling_pong_sgskip.py`
Pong
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_resample_thumb.png
    :alt: Resampling Data

  :ref:`sphx_glr_gallery_event_handling_resample.py`
Resampling Data
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_timers_thumb.png
    :alt: Timers

  :ref:`sphx_glr_gallery_event_handling_timers.py`
Timers
.. only:: html

  .. image:: /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`
Trifinder Event Demo
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_viewlims_thumb.png
    :alt: Viewlims

  :ref:`sphx_glr_gallery_event_handling_viewlims.py`
Viewlims
.. only:: html

  .. image:: /gallery/event_handling/images/thumb/sphx_glr_zoom_window_thumb.png
    :alt: Zoom Window

  :ref:`sphx_glr_gallery_event_handling_zoom_window.py`
Zoom Window

Miscellaneous

.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_anchored_artists_thumb.png
    :alt: Anchored Artists

  :ref:`sphx_glr_gallery_misc_anchored_artists.py`
Anchored Artists
.. only:: html

  .. image:: /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`
Changing colors of lines intersecting a box
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_contour_manual_thumb.png
    :alt: Manual Contour

  :ref:`sphx_glr_gallery_misc_contour_manual.py`
Manual Contour
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_coords_report_thumb.png
    :alt: Coords Report

  :ref:`sphx_glr_gallery_misc_coords_report.py`
Coords Report
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_custom_projection_thumb.png
    :alt: Custom projection

  :ref:`sphx_glr_gallery_misc_custom_projection.py`
Custom projection
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_customize_rc_thumb.png
    :alt: Customize Rc

  :ref:`sphx_glr_gallery_misc_customize_rc.py`
Customize Rc
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_demo_agg_filter_thumb.png
    :alt: AGG filter

  :ref:`sphx_glr_gallery_misc_demo_agg_filter.py`
AGG filter
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_demo_ribbon_box_thumb.png
    :alt: Ribbon Box

  :ref:`sphx_glr_gallery_misc_demo_ribbon_box.py`
Ribbon Box
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_fig_x_thumb.png
    :alt: Adding lines to figures

  :ref:`sphx_glr_gallery_misc_fig_x.py`
Adding lines to figures
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_fill_spiral_thumb.png
    :alt: Fill Spiral

  :ref:`sphx_glr_gallery_misc_fill_spiral.py`
Fill Spiral
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_findobj_demo_thumb.png
    :alt: Findobj Demo

  :ref:`sphx_glr_gallery_misc_findobj_demo.py`
Findobj Demo
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_font_indexing_thumb.png
    :alt: Font indexing

  :ref:`sphx_glr_gallery_misc_font_indexing.py`
Font indexing
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_ftface_props_thumb.png
    :alt: Font properties

  :ref:`sphx_glr_gallery_misc_ftface_props.py`
Font properties
.. only:: html

  .. image:: /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`
Building histograms using Rectangles and PolyCollections
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_hyperlinks_sgskip_thumb.png
    :alt: Hyperlinks

  :ref:`sphx_glr_gallery_misc_hyperlinks_sgskip.py`
Hyperlinks
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_image_thumbnail_sgskip_thumb.png
    :alt: Image Thumbnail

  :ref:`sphx_glr_gallery_misc_image_thumbnail_sgskip.py`
Image Thumbnail
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_keyword_plotting_thumb.png
    :alt: Plotting with keywords

  :ref:`sphx_glr_gallery_misc_keyword_plotting.py`
Plotting with keywords
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_logos2_thumb.png
    :alt: Matplotlib logo

  :ref:`sphx_glr_gallery_misc_logos2.py`
Matplotlib logo
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_multipage_pdf_thumb.png
    :alt: Multipage PDF

  :ref:`sphx_glr_gallery_misc_multipage_pdf.py`
Multipage PDF
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_multiprocess_sgskip_thumb.png
    :alt: Multiprocessing

  :ref:`sphx_glr_gallery_misc_multiprocess_sgskip.py`
Multiprocessing
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_packed_bubbles_thumb.png
    :alt: Packed-bubble chart

  :ref:`sphx_glr_gallery_misc_packed_bubbles.py`
Packed-bubble chart
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_patheffect_demo_thumb.png
    :alt: Patheffect Demo

  :ref:`sphx_glr_gallery_misc_patheffect_demo.py`
Patheffect Demo
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_print_stdout_sgskip_thumb.png
    :alt: Print Stdout

  :ref:`sphx_glr_gallery_misc_print_stdout_sgskip.py`
Print Stdout
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_rasterization_demo_thumb.png
    :alt: Rasterization for vector graphics

  :ref:`sphx_glr_gallery_misc_rasterization_demo.py`
Rasterization for vector graphics
.. only:: html

  .. image:: /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`
Set and get properties
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_svg_filter_line_thumb.png
    :alt: SVG Filter Line

  :ref:`sphx_glr_gallery_misc_svg_filter_line.py`
SVG Filter Line
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_svg_filter_pie_thumb.png
    :alt: SVG filter pie

  :ref:`sphx_glr_gallery_misc_svg_filter_pie.py`
SVG filter pie
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_table_demo_thumb.png
    :alt: Table Demo

  :ref:`sphx_glr_gallery_misc_table_demo.py`
Table Demo
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_tickedstroke_demo_thumb.png
    :alt: TickedStroke patheffect

  :ref:`sphx_glr_gallery_misc_tickedstroke_demo.py`
TickedStroke patheffect
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_transoffset_thumb.png
    :alt: transforms.offset_copy

  :ref:`sphx_glr_gallery_misc_transoffset.py`
transforms.offset_copy
.. only:: html

  .. image:: /gallery/misc/images/thumb/sphx_glr_zorder_demo_thumb.png
    :alt: Zorder Demo

  :ref:`sphx_glr_gallery_misc_zorder_demo.py`
Zorder Demo

3D plotting

.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_2dcollections3d_thumb.png
    :alt: Plot 2D data on 3D plot

  :ref:`sphx_glr_gallery_mplot3d_2dcollections3d.py`
Plot 2D data on 3D plot
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_3d_bars_thumb.png
    :alt: Demo of 3D bar charts

  :ref:`sphx_glr_gallery_mplot3d_3d_bars.py`
Demo of 3D bar charts
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_bars3d_thumb.png
    :alt: Create 2D bar graphs in different planes

  :ref:`sphx_glr_gallery_mplot3d_bars3d.py`
Create 2D bar graphs in different planes
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_box3d_thumb.png
    :alt: 3D box surface plot

  :ref:`sphx_glr_gallery_mplot3d_box3d.py`
3D box surface plot
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_thumb.png
    :alt: Plot contour (level) curves in 3D

  :ref:`sphx_glr_gallery_mplot3d_contour3d.py`
Plot contour (level) curves in 3D
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_2_thumb.png
    :alt: Plot contour (level) curves in 3D using the extend3d option

  :ref:`sphx_glr_gallery_mplot3d_contour3d_2.py`
Plot contour (level) curves in 3D using the extend3d option
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_3_thumb.png
    :alt: Project contour profiles onto a graph

  :ref:`sphx_glr_gallery_mplot3d_contour3d_3.py`
Project contour profiles onto a graph
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_contourf3d_thumb.png
    :alt: Filled contours

  :ref:`sphx_glr_gallery_mplot3d_contourf3d.py`
Filled contours
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_contourf3d_2_thumb.png
    :alt: Project filled contour onto a graph

  :ref:`sphx_glr_gallery_mplot3d_contourf3d_2.py`
Project filled contour onto a graph
.. only:: html

  .. image:: /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`
Custom hillshading in a 3D surface plot
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_errorbar3d_thumb.png
    :alt: 3D errorbars

  :ref:`sphx_glr_gallery_mplot3d_errorbar3d.py`
3D errorbars
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_hist3d_thumb.png
    :alt: Create 3D histogram of 2D data

  :ref:`sphx_glr_gallery_mplot3d_hist3d.py`
Create 3D histogram of 2D data
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_lines3d_thumb.png
    :alt: Parametric curve

  :ref:`sphx_glr_gallery_mplot3d_lines3d.py`
Parametric curve
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_lorenz_attractor_thumb.png
    :alt: Lorenz attractor

  :ref:`sphx_glr_gallery_mplot3d_lorenz_attractor.py`
Lorenz attractor
.. only:: html

  .. image:: /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`
2D and 3D axes in same figure
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_offset_thumb.png
    :alt: Automatic text offsetting

  :ref:`sphx_glr_gallery_mplot3d_offset.py`
Automatic text offsetting
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_pathpatch3d_thumb.png
    :alt: Draw flat objects in 3D plot

  :ref:`sphx_glr_gallery_mplot3d_pathpatch3d.py`
Draw flat objects in 3D plot
.. only:: html

  .. image:: /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`
Generate polygons to fill under 3D line graph
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_projections_thumb.png
    :alt: 3D plot projection types

  :ref:`sphx_glr_gallery_mplot3d_projections.py`
3D plot projection types
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_quiver3d_thumb.png
    :alt: 3D quiver plot

  :ref:`sphx_glr_gallery_mplot3d_quiver3d.py`
3D quiver plot
.. only:: html

  .. image:: /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`
Rotating a 3D plot
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_scatter3d_thumb.png
    :alt: 3D scatterplot

  :ref:`sphx_glr_gallery_mplot3d_scatter3d.py`
3D scatterplot
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_stem3d_demo_thumb.png
    :alt: 3D stem

  :ref:`sphx_glr_gallery_mplot3d_stem3d_demo.py`
3D stem
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_subplot3d_thumb.png
    :alt: 3D plots as subplots

  :ref:`sphx_glr_gallery_mplot3d_subplot3d.py`
3D plots as subplots
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_thumb.png
    :alt: 3D surface (colormap)

  :ref:`sphx_glr_gallery_mplot3d_surface3d.py`
3D surface (colormap)
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_2_thumb.png
    :alt: 3D surface (solid color)

  :ref:`sphx_glr_gallery_mplot3d_surface3d_2.py`
3D surface (solid color)
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_3_thumb.png
    :alt: 3D surface (checkerboard)

  :ref:`sphx_glr_gallery_mplot3d_surface3d_3.py`
3D surface (checkerboard)
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_radial_thumb.png
    :alt: 3D surface with polar coordinates

  :ref:`sphx_glr_gallery_mplot3d_surface3d_radial.py`
3D surface with polar coordinates
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_text3d_thumb.png
    :alt: Text annotations in 3D

  :ref:`sphx_glr_gallery_mplot3d_text3d.py`
Text annotations in 3D
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_tricontour3d_thumb.png
    :alt: Triangular 3D contour plot

  :ref:`sphx_glr_gallery_mplot3d_tricontour3d.py`
Triangular 3D contour plot
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_tricontourf3d_thumb.png
    :alt: Triangular 3D filled contour plot

  :ref:`sphx_glr_gallery_mplot3d_tricontourf3d.py`
Triangular 3D filled contour plot
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_trisurf3d_thumb.png
    :alt: Triangular 3D surfaces

  :ref:`sphx_glr_gallery_mplot3d_trisurf3d.py`
Triangular 3D surfaces
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_trisurf3d_2_thumb.png
    :alt: More triangular 3D surfaces

  :ref:`sphx_glr_gallery_mplot3d_trisurf3d_2.py`
More triangular 3D surfaces
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_view_planes_3d_thumb.png
    :alt: Primary 3D view planes

  :ref:`sphx_glr_gallery_mplot3d_view_planes_3d.py`
Primary 3D view planes
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_voxels_thumb.png
    :alt: 3D voxel / volumetric plot

  :ref:`sphx_glr_gallery_mplot3d_voxels.py`
3D voxel / volumetric plot
.. only:: html

  .. image:: /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`
3D voxel plot of the NumPy logo
.. only:: html

  .. image:: /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`
3D voxel / volumetric plot with RGB colors
.. only:: html

  .. image:: /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`
3D voxel / volumetric plot with cylindrical coordinates
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_wire3d_thumb.png
    :alt: 3D wireframe plot

  :ref:`sphx_glr_gallery_mplot3d_wire3d.py`
3D wireframe plot
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_wire3d_animation_sgskip_thumb.png
    :alt: Animate a 3D wireframe plot

  :ref:`sphx_glr_gallery_mplot3d_wire3d_animation_sgskip.py`
Animate a 3D wireframe plot
.. only:: html

  .. image:: /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`
3D wireframe plots in one direction

Scales

These examples cover how different scales are handled in Matplotlib.

.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_asinh_demo_thumb.png
    :alt: Asinh Demo

  :ref:`sphx_glr_gallery_scales_asinh_demo.py`
Asinh Demo
.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_aspect_loglog_thumb.png
    :alt: Loglog Aspect

  :ref:`sphx_glr_gallery_scales_aspect_loglog.py`
Loglog Aspect
.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_custom_scale_thumb.png
    :alt: Custom scale

  :ref:`sphx_glr_gallery_scales_custom_scale.py`
Custom scale
.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_log_bar_thumb.png
    :alt: Log Bar

  :ref:`sphx_glr_gallery_scales_log_bar.py`
Log Bar
.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_log_demo_thumb.png
    :alt: Log Demo

  :ref:`sphx_glr_gallery_scales_log_demo.py`
Log Demo
.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_logit_demo_thumb.png
    :alt: Logit Demo

  :ref:`sphx_glr_gallery_scales_logit_demo.py`
Logit Demo
.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_power_norm_thumb.png
    :alt: Exploring normalizations

  :ref:`sphx_glr_gallery_scales_power_norm.py`
Exploring normalizations
.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_scales_thumb.png
    :alt: Scales

  :ref:`sphx_glr_gallery_scales_scales.py`
Scales
.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_semilogx_demo_thumb.png
    :alt: Log Axis

  :ref:`sphx_glr_gallery_scales_semilogx_demo.py`
Log Axis
.. only:: html

  .. image:: /gallery/scales/images/thumb/sphx_glr_symlog_demo_thumb.png
    :alt: Symlog Demo

  :ref:`sphx_glr_gallery_scales_symlog_demo.py`
Symlog Demo

Specialty plots

.. only:: html

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_advanced_hillshading_thumb.png
    :alt: Hillshading

  :ref:`sphx_glr_gallery_specialty_plots_advanced_hillshading.py`
Hillshading
.. only:: html

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_anscombe_thumb.png
    :alt: Anscombe's quartet

  :ref:`sphx_glr_gallery_specialty_plots_anscombe.py`
Anscombe's quartet
.. only:: html

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_hinton_demo_thumb.png
    :alt: Hinton diagrams

  :ref:`sphx_glr_gallery_specialty_plots_hinton_demo.py`
Hinton diagrams
.. only:: html

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_leftventricle_bullseye_thumb.png
    :alt: Left ventricle bullseye

  :ref:`sphx_glr_gallery_specialty_plots_leftventricle_bullseye.py`
Left ventricle bullseye
.. only:: html

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_mri_demo_thumb.png
    :alt: ===

  :ref:`sphx_glr_gallery_specialty_plots_mri_demo.py`
===
.. only:: html

  .. image:: /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`
MRI with EEG
.. only:: html

  .. image:: /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`
Radar chart (aka spider or star chart)
.. only:: html

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_sankey_basics_thumb.png
    :alt: The Sankey class

  :ref:`sphx_glr_gallery_specialty_plots_sankey_basics.py`
The Sankey class
.. only:: html

  .. image:: /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`
Long chain of connections using Sankey
.. only:: html

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_sankey_rankine_thumb.png
    :alt: Rankine power cycle

  :ref:`sphx_glr_gallery_specialty_plots_sankey_rankine.py`
Rankine power cycle
.. only:: html

  .. image:: /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`
SkewT-logP diagram: using transforms and custom projections
.. only:: html

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_topographic_hillshading_thumb.png
    :alt: Topographic hillshading

  :ref:`sphx_glr_gallery_specialty_plots_topographic_hillshading.py`
Topographic hillshading

Spines

.. only:: html

  .. image:: /gallery/spines/images/thumb/sphx_glr_spines_thumb.png
    :alt: Spines

  :ref:`sphx_glr_gallery_spines_spines.py`
Spines
.. only:: html

  .. image:: /gallery/spines/images/thumb/sphx_glr_spine_placement_demo_thumb.png
    :alt: Spine placement

  :ref:`sphx_glr_gallery_spines_spine_placement_demo.py`
Spine placement
.. only:: html

  .. image:: /gallery/spines/images/thumb/sphx_glr_spines_dropped_thumb.png
    :alt: Dropped spines

  :ref:`sphx_glr_gallery_spines_spines_dropped.py`
Dropped spines
.. only:: html

  .. image:: /gallery/spines/images/thumb/sphx_glr_multiple_yaxis_with_spines_thumb.png
    :alt: Multiple y-axis with Spines

  :ref:`sphx_glr_gallery_spines_multiple_yaxis_with_spines.py`
Multiple y-axis with Spines
.. only:: html

  .. image:: /gallery/spines/images/thumb/sphx_glr_centered_spines_with_arrows_thumb.png
    :alt: Centered spines with arrows

  :ref:`sphx_glr_gallery_spines_centered_spines_with_arrows.py`
Centered spines with arrows

Ticks

.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_auto_ticks_thumb.png
    :alt: Automatically setting tick positions

  :ref:`sphx_glr_gallery_ticks_auto_ticks.py`
Automatically setting tick positions
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_centered_ticklabels_thumb.png
    :alt: Centering labels between ticks

  :ref:`sphx_glr_gallery_ticks_centered_ticklabels.py`
Centering labels between ticks
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_colorbar_tick_labelling_demo_thumb.png
    :alt: Colorbar Tick Labelling

  :ref:`sphx_glr_gallery_ticks_colorbar_tick_labelling_demo.py`
Colorbar Tick Labelling
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_custom_ticker1_thumb.png
    :alt: Custom Ticker

  :ref:`sphx_glr_gallery_ticks_custom_ticker1.py`
Custom Ticker
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_date_concise_formatter_thumb.png
    :alt: Formatting date ticks using ConciseDateFormatter

  :ref:`sphx_glr_gallery_ticks_date_concise_formatter.py`
Formatting date ticks using ConciseDateFormatter
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_date_demo_convert_thumb.png
    :alt: Date Demo Convert

  :ref:`sphx_glr_gallery_ticks_date_demo_convert.py`
Date Demo Convert
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_date_demo_rrule_thumb.png
    :alt: Placing date ticks using recurrence rules

  :ref:`sphx_glr_gallery_ticks_date_demo_rrule.py`
Placing date ticks using recurrence rules
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_date_formatters_locators_thumb.png
    :alt: Date tick locators and formatters

  :ref:`sphx_glr_gallery_ticks_date_formatters_locators.py`
Date tick locators and formatters
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_date_index_formatter_thumb.png
    :alt: Custom tick formatter for time series

  :ref:`sphx_glr_gallery_ticks_date_index_formatter.py`
Custom tick formatter for time series
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_date_precision_and_epochs_thumb.png
    :alt: Date Precision and Epochs

  :ref:`sphx_glr_gallery_ticks_date_precision_and_epochs.py`
Date Precision and Epochs
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_dollar_ticks_thumb.png
    :alt: Dollar ticks

  :ref:`sphx_glr_gallery_ticks_dollar_ticks.py`
Dollar ticks
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_fig_axes_customize_simple_thumb.png
    :alt: Fig Axes Customize Simple

  :ref:`sphx_glr_gallery_ticks_fig_axes_customize_simple.py`
Fig Axes Customize Simple
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_major_minor_demo_thumb.png
    :alt: Major and minor ticks

  :ref:`sphx_glr_gallery_ticks_major_minor_demo.py`
Major and minor ticks
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_scalarformatter_thumb.png
    :alt: The default tick formatter

  :ref:`sphx_glr_gallery_ticks_scalarformatter.py`
The default tick formatter
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_tick-formatters_thumb.png
    :alt: Tick formatters

  :ref:`sphx_glr_gallery_ticks_tick-formatters.py`
Tick formatters
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_tick-locators_thumb.png
    :alt: Tick locators

  :ref:`sphx_glr_gallery_ticks_tick-locators.py`
Tick locators
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_tick_label_right_thumb.png
    :alt: Set default y-axis tick labels on the right

  :ref:`sphx_glr_gallery_ticks_tick_label_right.py`
Set default y-axis tick labels on the right
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_tick_labels_from_values_thumb.png
    :alt: Setting tick labels from a list of values

  :ref:`sphx_glr_gallery_ticks_tick_labels_from_values.py`
Setting tick labels from a list of values
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_tick_xlabel_top_thumb.png
    :alt: Move x-axis tick labels to the top

  :ref:`sphx_glr_gallery_ticks_tick_xlabel_top.py`
Move x-axis tick labels to the top
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_ticklabels_rotation_thumb.png
    :alt: Rotating custom tick labels

  :ref:`sphx_glr_gallery_ticks_ticklabels_rotation.py`
Rotating custom tick labels
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_ticks_too_many_thumb.png
    :alt: Fixing too many ticks

  :ref:`sphx_glr_gallery_ticks_ticks_too_many.py`
Fixing too many ticks

Units

These examples cover the many representations of units in Matplotlib.

.. only:: html

  .. image:: /gallery/units/images/thumb/sphx_glr_annotate_with_units_thumb.png
    :alt: Annotation with units

  :ref:`sphx_glr_gallery_units_annotate_with_units.py`
Annotation with units
.. only:: html

  .. image:: /gallery/units/images/thumb/sphx_glr_artist_tests_thumb.png
    :alt: Artist tests

  :ref:`sphx_glr_gallery_units_artist_tests.py`
Artist tests
.. only:: html

  .. image:: /gallery/units/images/thumb/sphx_glr_bar_demo2_thumb.png
    :alt: Bar demo with units

  :ref:`sphx_glr_gallery_units_bar_demo2.py`
Bar demo with units
.. only:: html

  .. image:: /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`
Group barchart with units
.. only:: html

  .. image:: /gallery/units/images/thumb/sphx_glr_basic_units_thumb.png
    :alt: Basic Units

  :ref:`sphx_glr_gallery_units_basic_units.py`
Basic Units
.. only:: html

  .. image:: /gallery/units/images/thumb/sphx_glr_ellipse_with_units_thumb.png
    :alt: Ellipse with units

  :ref:`sphx_glr_gallery_units_ellipse_with_units.py`
Ellipse with units
.. only:: html

  .. image:: /gallery/units/images/thumb/sphx_glr_evans_test_thumb.png
    :alt: Evans test

  :ref:`sphx_glr_gallery_units_evans_test.py`
Evans test
.. only:: html

  .. image:: /gallery/units/images/thumb/sphx_glr_radian_demo_thumb.png
    :alt: Radian ticks

  :ref:`sphx_glr_gallery_units_radian_demo.py`
Radian ticks
.. only:: html

  .. image:: /gallery/units/images/thumb/sphx_glr_units_sample_thumb.png
    :alt: Inches and Centimeters

  :ref:`sphx_glr_gallery_units_units_sample.py`
Inches and Centimeters
.. only:: html

  .. image:: /gallery/units/images/thumb/sphx_glr_units_scatter_thumb.png
    :alt: Unit handling

  :ref:`sphx_glr_gallery_units_units_scatter.py`
Unit handling

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 PyQt/PySide, PyGObject, Tkinter, and wxPython.

When embedding Matplotlib in a GUI, you must use the Matplotlib API directly rather than the pylab/pyplot procedural interface, so take a look at the examples/api directory for some example code working with the API.

.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_canvasagg_thumb.png
    :alt: CanvasAgg demo

  :ref:`sphx_glr_gallery_user_interfaces_canvasagg.py`
CanvasAgg demo
.. only:: html

  .. image:: /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`
Embedding in GTK3 with a navigation toolbar
.. only:: html

  .. image:: /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`
Embedding in GTK3
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_gtk4_panzoom_sgskip_thumb.png
    :alt: Embedding in GTK4 with a navigation toolbar

  :ref:`sphx_glr_gallery_user_interfaces_embedding_in_gtk4_panzoom_sgskip.py`
Embedding in GTK4 with a navigation toolbar
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_embedding_in_gtk4_sgskip_thumb.png
    :alt: Embedding in GTK4

  :ref:`sphx_glr_gallery_user_interfaces_embedding_in_gtk4_sgskip.py`
Embedding in GTK4
.. only:: html

  .. image:: /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`
Embedding in Qt
.. only:: html

  .. image:: /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`
Embedding in Tk
.. only:: html

  .. image:: /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`
Embedding in wx #2
.. only:: html

  .. image:: /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`
Embedding in wx #3
.. only:: html

  .. image:: /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`
Embedding in wx #4
.. only:: html

  .. image:: /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`
Embedding in wx #5
.. only:: html

  .. image:: /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`
Embedding WebAgg
.. only:: html

  .. image:: /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`
Fourier Demo WX
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_gtk3_spreadsheet_sgskip_thumb.png
    :alt: GTK3 spreadsheet

  :ref:`sphx_glr_gallery_user_interfaces_gtk3_spreadsheet_sgskip.py`
GTK3 spreadsheet
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_gtk4_spreadsheet_sgskip_thumb.png
    :alt: GTK4 spreadsheet

  :ref:`sphx_glr_gallery_user_interfaces_gtk4_spreadsheet_sgskip.py`
GTK4 spreadsheet
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_mathtext_wx_sgskip_thumb.png
    :alt: Display mathtext in WX

  :ref:`sphx_glr_gallery_user_interfaces_mathtext_wx_sgskip.py`
Display mathtext in WX
.. only:: html

  .. image:: /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`
Matplotlib with Glade 3
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_mplcvd_thumb.png
    :alt: mplcvd -- an example of figure hook

  :ref:`sphx_glr_gallery_user_interfaces_mplcvd.py`
mplcvd -- an example of figure hook
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_pylab_with_gtk3_sgskip_thumb.png
    :alt: pyplot with GTK3

  :ref:`sphx_glr_gallery_user_interfaces_pylab_with_gtk3_sgskip.py`
pyplot with GTK3
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_pylab_with_gtk4_sgskip_thumb.png
    :alt: pyplot with GTK4

  :ref:`sphx_glr_gallery_user_interfaces_pylab_with_gtk4_sgskip.py`
pyplot with GTK4
.. only:: html

  .. image:: /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`
SVG Histogram
.. only:: html

  .. image:: /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`
SVG Tooltip
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_toolmanager_sgskip_thumb.png
    :alt: Tool Manager

  :ref:`sphx_glr_gallery_user_interfaces_toolmanager_sgskip.py`
Tool Manager
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_web_application_server_sgskip_thumb.png
    :alt: Embedding in a web application server (Flask)

  :ref:`sphx_glr_gallery_user_interfaces_web_application_server_sgskip.py`
Embedding in a web application server (Flask)
.. only:: html

  .. image:: /gallery/user_interfaces/images/thumb/sphx_glr_wxcursor_demo_sgskip_thumb.png
    :alt: Adding a cursor in WX

  :ref:`sphx_glr_gallery_user_interfaces_wxcursor_demo_sgskip.py`
Adding a cursor in WX

Widgets

Examples of how to write primitive, but GUI agnostic, widgets in matplotlib

.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_annotated_cursor_thumb.png
    :alt: Annotated cursor

  :ref:`sphx_glr_gallery_widgets_annotated_cursor.py`
Annotated cursor
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_buttons_thumb.png
    :alt: Buttons

  :ref:`sphx_glr_gallery_widgets_buttons.py`
Buttons
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_check_buttons_thumb.png
    :alt: Check buttons

  :ref:`sphx_glr_gallery_widgets_check_buttons.py`
Check buttons
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_cursor_thumb.png
    :alt: Cursor

  :ref:`sphx_glr_gallery_widgets_cursor.py`
Cursor
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_lasso_selector_demo_sgskip_thumb.png
    :alt: Lasso Selector

  :ref:`sphx_glr_gallery_widgets_lasso_selector_demo_sgskip.py`
Lasso Selector
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_menu_thumb.png
    :alt: Menu

  :ref:`sphx_glr_gallery_widgets_menu.py`
Menu
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_mouse_cursor_thumb.png
    :alt: Mouse Cursor

  :ref:`sphx_glr_gallery_widgets_mouse_cursor.py`
Mouse Cursor
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_multicursor_thumb.png
    :alt: Multicursor

  :ref:`sphx_glr_gallery_widgets_multicursor.py`
Multicursor
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_polygon_selector_demo_thumb.png
    :alt: Select indices from a collection using polygon selector

  :ref:`sphx_glr_gallery_widgets_polygon_selector_demo.py`
Select indices from a collection using polygon selector
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_polygon_selector_simple_thumb.png
    :alt: Polygon Selector

  :ref:`sphx_glr_gallery_widgets_polygon_selector_simple.py`
Polygon Selector
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_radio_buttons_thumb.png
    :alt: Radio Buttons

  :ref:`sphx_glr_gallery_widgets_radio_buttons.py`
Radio Buttons
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_range_slider_thumb.png
    :alt: Thresholding an Image with RangeSlider

  :ref:`sphx_glr_gallery_widgets_range_slider.py`
Thresholding an Image with RangeSlider
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_rectangle_selector_thumb.png
    :alt: Rectangle and ellipse selectors

  :ref:`sphx_glr_gallery_widgets_rectangle_selector.py`
Rectangle and ellipse selectors
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_slider_demo_thumb.png
    :alt: Slider

  :ref:`sphx_glr_gallery_widgets_slider_demo.py`
Slider
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_slider_snap_demo_thumb.png
    :alt: Snapping Sliders to Discrete Values

  :ref:`sphx_glr_gallery_widgets_slider_snap_demo.py`
Snapping Sliders to Discrete Values
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_span_selector_thumb.png
    :alt: Span Selector

  :ref:`sphx_glr_gallery_widgets_span_selector.py`
Span Selector
.. only:: html

  .. image:: /gallery/widgets/images/thumb/sphx_glr_textbox_thumb.png
    :alt: Textbox

  :ref:`sphx_glr_gallery_widgets_textbox.py`
Textbox

Userdemo

.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_anchored_box04_thumb.png
    :alt: Anchored Box04

  :ref:`sphx_glr_gallery_userdemo_anchored_box04.py`
Anchored Box04
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_explain_thumb.png
    :alt: Annotate Explain

  :ref:`sphx_glr_gallery_userdemo_annotate_explain.py`
Annotate Explain
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple01_thumb.png
    :alt: Annotate Simple01

  :ref:`sphx_glr_gallery_userdemo_annotate_simple01.py`
Annotate Simple01
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple02_thumb.png
    :alt: Annotate Simple02

  :ref:`sphx_glr_gallery_userdemo_annotate_simple02.py`
Annotate Simple02
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple03_thumb.png
    :alt: Annotate Simple03

  :ref:`sphx_glr_gallery_userdemo_annotate_simple03.py`
Annotate Simple03
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple04_thumb.png
    :alt: Annotate Simple04

  :ref:`sphx_glr_gallery_userdemo_annotate_simple04.py`
Annotate Simple04
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple_coord01_thumb.png
    :alt: Annotate Simple Coord01

  :ref:`sphx_glr_gallery_userdemo_annotate_simple_coord01.py`
Annotate Simple Coord01
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple_coord02_thumb.png
    :alt: Annotate Simple Coord02

  :ref:`sphx_glr_gallery_userdemo_annotate_simple_coord02.py`
Annotate Simple Coord02
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_simple_coord03_thumb.png
    :alt: Annotate Simple Coord03

  :ref:`sphx_glr_gallery_userdemo_annotate_simple_coord03.py`
Annotate Simple Coord03
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_text_arrow_thumb.png
    :alt: Annotate Text Arrow

  :ref:`sphx_glr_gallery_userdemo_annotate_text_arrow.py`
Annotate Text Arrow
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_connect_simple01_thumb.png
    :alt: Connect Simple01

  :ref:`sphx_glr_gallery_userdemo_connect_simple01.py`
Connect Simple01
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_connectionstyle_demo_thumb.png
    :alt: Connection styles for annotations

  :ref:`sphx_glr_gallery_userdemo_connectionstyle_demo.py`
Connection styles for annotations
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_custom_boxstyle01_thumb.png
    :alt: Custom box styles

  :ref:`sphx_glr_gallery_userdemo_custom_boxstyle01.py`
Custom box styles
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_demo_gridspec01_thumb.png
    :alt: subplot2grid demo

  :ref:`sphx_glr_gallery_userdemo_demo_gridspec01.py`
subplot2grid demo
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_demo_gridspec03_thumb.png
    :alt: GridSpec demo

  :ref:`sphx_glr_gallery_userdemo_demo_gridspec03.py`
GridSpec demo
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_demo_gridspec06_thumb.png
    :alt: Nested GridSpecs

  :ref:`sphx_glr_gallery_userdemo_demo_gridspec06.py`
Nested GridSpecs
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_pgf_fonts_thumb.png
    :alt: PGF fonts

  :ref:`sphx_glr_gallery_userdemo_pgf_fonts.py`
PGF fonts
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_pgf_preamble_sgskip_thumb.png
    :alt: PGF preamble

  :ref:`sphx_glr_gallery_userdemo_pgf_preamble_sgskip.py`
PGF preamble
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_pgf_texsystem_thumb.png
    :alt: PGF texsystem

  :ref:`sphx_glr_gallery_userdemo_pgf_texsystem.py`
PGF texsystem
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_simple_annotate01_thumb.png
    :alt: Simple Annotate01

  :ref:`sphx_glr_gallery_userdemo_simple_annotate01.py`
Simple Annotate01
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_simple_legend01_thumb.png
    :alt: Simple Legend01

  :ref:`sphx_glr_gallery_userdemo_simple_legend01.py`
Simple Legend01
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_simple_legend02_thumb.png
    :alt: Simple Legend02

  :ref:`sphx_glr_gallery_userdemo_simple_legend02.py`
Simple Legend02
.. toctree::
   :hidden:
   :includehidden:

   /gallery/lines_bars_and_markers/index.rst
   /gallery/images_contours_and_fields/index.rst
   /gallery/subplots_axes_and_figures/index.rst
   /gallery/statistics/index.rst
   /gallery/pie_and_polar_charts/index.rst
   /gallery/text_labels_and_annotations/index.rst
   /gallery/pyplots/index.rst
   /gallery/color/index.rst
   /gallery/shapes_and_collections/index.rst
   /gallery/style_sheets/index.rst
   /gallery/axes_grid1/index.rst
   /gallery/axisartist/index.rst
   /gallery/showcase/index.rst
   /gallery/animation/index.rst
   /gallery/event_handling/index.rst
   /gallery/misc/index.rst
   /gallery/mplot3d/index.rst
   /gallery/scales/index.rst
   /gallery/specialty_plots/index.rst
   /gallery/spines/index.rst
   /gallery/ticks/index.rst
   /gallery/units/index.rst
   /gallery/user_interfaces/index.rst
   /gallery/widgets/index.rst
   /gallery/userdemo/index.rst

.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-gallery

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download all examples in Python source code: gallery_python.zip </gallery/gallery_python.zip>`

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download all examples in Jupyter notebooks: gallery_jupyter.zip </gallery/gallery_jupyter.zip>`

.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_