Skip to content

Latest commit

 

History

History
9328 lines (4914 loc) · 242 KB

File metadata and controls

9328 lines (4914 loc) · 242 KB
orphan:

Examples

For an overview of the plotting methods we provide, see :ref:`plot_types`

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

Tagging!

You can also browse the example gallery by :ref:`tags <tagoverview>`.

Lines, bars and markers

.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_bar_colors_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_lines_bars_and_markers_csd_demo.py`
Cross spectral density (CSD)
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_curve_error_band_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_lines_bars_and_markers_psd_demo.py`
Power spectral density (PSD)
.. only:: html

  .. image:: /gallery/lines_bars_and_markers/images/thumb/sphx_glr_scatter_demo2_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_lines_bars_and_markers_xcorr_acorr_demo.py`
Cross- and auto-correlation

Images, contours and fields

.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_affine_image_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_images_contours_and_fields_image_demo.py`
Many ways to plot images
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_image_masked_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_images_contours_and_fields_multi_image.py`
Multiple images with one colorbar
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_pcolor_demo_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_images_contours_and_fields_pcolor_demo.py`
pcolor images
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_pcolormesh_grids_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_images_contours_and_fields_specgram_demo.py`
Spectrogram
.. only:: html

  .. image:: /gallery/images_contours_and_fields/images/thumb/sphx_glr_spy_demos_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_align_labels_demo.py`
Aligning Labels and Titles
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_auto_subplots_adjust_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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_custom_figure_class_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_subplots_axes_and_figures_invert_axes.py`
Inverted axis
.. only:: html

  .. image:: /gallery/subplots_axes_and_figures/images/thumb/sphx_glr_multiple_figs_demo_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

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

  .. image:: /gallery/statistics/images/thumb/sphx_glr_boxplot_vs_violin_thumb.png
    :alt:

  :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:

  :ref:`sphx_glr_gallery_statistics_bxp.py`
Separate calculation and plotting of boxplots
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_confidence_ellipse_thumb.png
    :alt:

  :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:

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

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

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

  .. image:: /gallery/statistics/images/thumb/sphx_glr_errorbar_features_thumb.png
    :alt:

  :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:

  :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:

  :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:

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

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

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

  .. image:: /gallery/statistics/images/thumb/sphx_glr_histogram_bihistogram_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_statistics_histogram_bihistogram.py`
Bihistogram
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_histogram_cumulative_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_statistics_histogram_cumulative.py`
Plotting cumulative distributions
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_histogram_histtypes_thumb.png
    :alt:

  :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:

  :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_histogram_normalization_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_statistics_histogram_normalization.py`
Histogram bins, density, and weight
.. only:: html

  .. image:: /gallery/statistics/images/thumb/sphx_glr_multiple_histograms_side_by_side_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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_bar_of_pie_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_text_labels_and_annotations_accented_text.py`
Accented text
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_align_ylabels_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_text_labels_and_annotations_font_file.py`
Using ttf font files
.. only:: html

  .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_font_table_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_text_labels_and_annotations_rainbow_text.py`
Concatenating text objects with different properties
.. only:: html

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

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_text_labels_and_annotations_watermark_text.py`
Text watermark

Color

For a description of the colormaps available in Matplotlib, see the :ref:`colormaps tutorial <tutorials-colors>`.

.. only:: html

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

  :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:

  :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:

  :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:

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

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

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

  .. image:: /gallery/color/images/thumb/sphx_glr_custom_cmap_thumb.png
    :alt:

  :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_individual_colors_from_cmap_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_color_individual_colors_from_cmap.py`
Selecting individual colors from a colormap
.. only:: html

  .. image:: /gallery/color/images/thumb/sphx_glr_named_colors_thumb.png
    :alt:

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

  .. image:: /gallery/color/images/thumb/sphx_glr_set_alpha_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_color_set_alpha.py`
Ways to set a color's alpha value

Shapes and collections

.. only:: html

  .. image:: /gallery/shapes_and_collections/images/thumb/sphx_glr_arrow_guide_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

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

  .. image:: /gallery/shapes_and_collections/images/thumb/sphx_glr_ellipse_arrow_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_shapes_and_collections_ellipse_arrow.py`
Ellipse with orientation arrow demo
.. only:: html

  .. image:: /gallery/shapes_and_collections/images/thumb/sphx_glr_ellipse_collection_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_style_sheets_style_sheets_reference.py`
Style sheets reference

Module - pyplot

.. only:: html

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

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

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

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

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_text_thumb.png
    :alt:

  :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:

  :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:

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

Module - axes_grid1

.. only:: html

  .. image:: /gallery/axes_grid1/images/thumb/sphx_glr_demo_anchored_direction_arrows_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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_with_axes_divider_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_axes_grid1_simple_axisline4.py`
Simple Axisline4

Module - axisartist

.. only:: html

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

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :ref:`sphx_glr_gallery_axisartist_simple_axis_direction01.py`
Simple axis direction
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_simple_axis_direction03_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_axisartist_simple_axis_direction03.py`
Simple axis tick label and tick directions
.. only:: html

  .. image:: /gallery/axisartist/images/thumb/sphx_glr_simple_axis_pad_thumb.png
    :alt:

  :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:

  :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:

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

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

  :ref:`sphx_glr_gallery_axisartist_simple_axisline3.py`
Simple Axisline3

Showcase

.. only:: html

  .. image:: /gallery/showcase/images/thumb/sphx_glr_anatomy_thumb.png
    :alt:

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

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

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

  .. image:: /gallery/showcase/images/thumb/sphx_glr_integral_thumb.png
    :alt:

  :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:

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

  .. image:: /gallery/showcase/images/thumb/sphx_glr_pan_zoom_overlap_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_showcase_pan_zoom_overlap.py`
Pan/zoom events of overlapping axes
.. only:: html

  .. image:: /gallery/showcase/images/thumb/sphx_glr_stock_prices_thumb.png
    :alt:

  :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:

  :ref:`sphx_glr_gallery_showcase_xkcd.py`
XKCD

Animation

.. only:: html

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

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

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

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

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

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

  .. image:: /gallery/animation/images/thumb/sphx_glr_bayes_update_thumb.gif
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

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

  .. image:: /gallery/animation/images/thumb/sphx_glr_random_walk_thumb.gif
    :alt:

  :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:

  :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:

  :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:

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

  .. image:: /gallery/animation/images/thumb/sphx_glr_unchained_thumb.gif
    :alt:

  :ref:`sphx_glr_gallery_animation_unchained.py`
MATPLOTLIB UNCHAINED

Event handling

Matplotlib supports :ref:`event handling <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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

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

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

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

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

  :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:

  :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:

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

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

  :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:

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

  .. image:: /gallery/misc/images/thumb/sphx_glr_bbox_intersect_thumb.png
    :alt:

  :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:

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

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

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

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

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

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

  :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:

  :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:

  :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:

  :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:

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

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

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

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

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

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

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

  .. image:: /gallery/misc/images/thumb/sphx_glr_histogram_path_thumb.png
    :alt:

  :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:

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

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

  :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:

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

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

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

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

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

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

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

  .. image:: /gallery/misc/images/thumb/sphx_glr_packed_bubbles_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

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

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

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

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

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

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

  :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:

  :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:

  :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:

  :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:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_thumb.png
    :alt:

  :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:

  :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:

  :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:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_contourf3d_2_thumb.png
    :alt:

  :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:

  :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:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_hist3d_thumb.png
    :alt:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_imshow3d_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_mplot3d_imshow3d.py`
2D images in 3D
.. only:: html

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_intersecting_planes_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_mplot3d_intersecting_planes.py`
Intersecting planes
.. only:: html

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

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

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

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_mixed_subplots_thumb.png
    :alt:

  :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:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_pathpatch3d_thumb.png
    :alt:

  :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:

  :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:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_quiver3d_thumb.png
    :alt:

  :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:

  :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:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_stem3d_demo_thumb.png
    :alt:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_subplot3d_thumb.png
    :alt:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_thumb.png
    :alt:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_2_thumb.png
    :alt:

  :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:

  :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:

  :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:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_tricontour3d_thumb.png
    :alt:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_tricontourf3d_thumb.png
    :alt:

  :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:

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

  .. image:: /gallery/mplot3d/images/thumb/sphx_glr_trisurf3d_2_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  :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:

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

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_anscombe_thumb.png
    :alt:

  :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:

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

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_ishikawa_diagram_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_specialty_plots_ishikawa_diagram.py`
Ishikawa Diagram
.. only:: html

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_leftventricle_bullseye_thumb.png
    :alt:

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

  .. image:: /gallery/specialty_plots/images/thumb/sphx_glr_mri_with_eeg_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

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

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

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

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

  .. image:: /gallery/ticks/images/thumb/sphx_glr_multilevel_ticks_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_ticks_multilevel_ticks.py`
Multilevel (nested) ticks
.. only:: html

  .. image:: /gallery/ticks/images/thumb/sphx_glr_scalarformatter_thumb.png
    :alt:

  :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:

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

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

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

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

  .. image:: /gallery/units/images/thumb/sphx_glr_bar_demo2_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

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

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

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

  .. image:: /gallery/units/images/thumb/sphx_glr_units_sample_thumb.png
    :alt:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

  :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:

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

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

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

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

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

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

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

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

  :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:

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

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

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

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

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

  .. image:: /gallery/widgets/images/thumb/sphx_glr_polygon_selector_demo_thumb.png
    :alt:

  :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:

  :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:

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

  .. image:: /gallery/widgets/images/thumb/sphx_glr_range_slider_thumb.png
    :alt:

  :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:

  :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:

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

  .. image:: /gallery/widgets/images/thumb/sphx_glr_slider_snap_demo_thumb.png
    :alt:

  :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:

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

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

  :ref:`sphx_glr_gallery_widgets_textbox.py`
Textbox

Userdemo

.. only:: html

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

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

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_annotate_text_arrow_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_userdemo_annotate_text_arrow.py`
Annotate Text Arrow
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_connectionstyle_demo_thumb.png
    :alt:

  :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:

  :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:

  :ref:`sphx_glr_gallery_userdemo_demo_gridspec01.py`
subplot2grid demo
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_demo_gridspec03_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_userdemo_demo_gridspec03.py`
GridSpec demo
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_demo_gridspec06_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_userdemo_demo_gridspec06.py`
Nested GridSpecs
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_pgf_fonts_thumb.png
    :alt:

  :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:

  :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:

  :ref:`sphx_glr_gallery_userdemo_pgf_texsystem.py`
PGF texsystem
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_simple_annotate01_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_userdemo_simple_annotate01.py`
Simple Annotate01
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_simple_legend01_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_userdemo_simple_legend01.py`
Simple Legend01
.. only:: html

  .. image:: /gallery/userdemo/images/thumb/sphx_glr_simple_legend02_thumb.png
    :alt:

  :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/color/index.rst
   /gallery/shapes_and_collections/index.rst
   /gallery/style_sheets/index.rst
   /gallery/pyplots/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>`_