You are reading an old version of the documentation (v3.2.1). For the latest version see https://matplotlib.org/stable/gallery/index.html

John Hunter Excellence in Plotting Contest 2020 submissions are open! Entries are due June 1, 2020.

Version 3.2.1
matplotlib
Fork me on GitHub
  • Installation
  • Documentation
  • Examples
  • Tutorials
  • Contributing

Navigation

  • index
  • modules |
  • home| 
  • contents »

Table of Contents

  • Gallery
    • Lines, bars and markers
    • Images, contours and fields
    • Subplots, axes and figures
    • Statistics
    • Pie and polar charts
    • Text, labels and annotations
    • Pyplot
    • Color
    • Shapes and collections
    • Style sheets
    • Axes Grid
    • Axis Artist
    • Showcase
    • Animation
    • Event handling
    • Front Page
    • Miscellaneous
    • 3D plotting
    • Our Favorite Recipes
    • Scales
    • Specialty Plots
    • Ticks and spines
    • Units
    • Embedding Matplotlib in graphical user interfaces
    • Userdemo
    • Widgets

Related Topics

  • Documentation overview
Show Page Source

Gallery¶

This gallery contains examples of the many things you can do with Matplotlib. Click on any image to see the full image and source code.

For longer tutorials, see our tutorials page. You can also find external resources and a FAQ in our user guide.

Lines, bars and markers¶

../_images/sphx_glr_bar_stacked_thumb.png

Stacked bar chart¶

../_images/sphx_glr_barchart_thumb.png

Grouped bar chart with labels¶

../_images/sphx_glr_barh_thumb.png

Horizontal bar chart¶

../_images/sphx_glr_broken_barh_thumb.png

Broken Barh¶

../_images/sphx_glr_categorical_variables_thumb.png

Plotting categorical variables¶

../_images/sphx_glr_cohere_thumb.png

Plotting the coherence of two signals¶

../_images/sphx_glr_csd_demo_thumb.png

CSD Demo¶

../_images/sphx_glr_errorbar_limits_simple_thumb.png

Errorbar limit selection¶

../_images/sphx_glr_errorbar_subsample_thumb.png

Errorbar Subsample¶

../_images/sphx_glr_eventcollection_demo_thumb.png

EventCollection Demo¶

../_images/sphx_glr_eventplot_demo_thumb.png

Eventplot Demo¶

../_images/sphx_glr_fill_thumb.png

Filled polygon¶

../_images/sphx_glr_fill_between_demo_thumb.png

Filling the area between lines¶

../_images/sphx_glr_fill_betweenx_demo_thumb.png

Fill Betweenx Demo¶

../_images/sphx_glr_filled_step_thumb.png

Hatch-filled histograms¶

../_images/sphx_glr_gradient_bar_thumb.png

Bar chart with gradients¶

../_images/sphx_glr_horizontal_barchart_distribution_thumb.png

Discrete distribution as horizontal bar chart¶

../_images/sphx_glr_joinstyle_thumb.png

Join styles and cap styles¶

../_images/sphx_glr_line_demo_dash_control_thumb.png

Customizing dashed line styles¶

../_images/sphx_glr_linestyles_thumb.png

Linestyles¶

../_images/sphx_glr_marker_fillstyle_reference_thumb.png

Marker filling-styles¶

../_images/sphx_glr_marker_reference_thumb.png

Marker Reference¶

../_images/sphx_glr_markevery_demo_thumb.png

Markevery Demo¶

../_images/sphx_glr_markevery_prop_cycle_thumb.png

prop_cycle property markevery in rcParams¶

../_images/sphx_glr_masked_demo_thumb.png

Plotting masked and NaN values¶

../_images/sphx_glr_multicolored_line_thumb.png

Multicolored lines¶

../_images/sphx_glr_psd_demo_thumb.png

Psd Demo¶

../_images/sphx_glr_scatter_custom_symbol_thumb.png

Scatter Custom Symbol¶

../_images/sphx_glr_scatter_demo2_thumb.png

Scatter Demo2¶

../_images/sphx_glr_scatter_hist_thumb.png

Scatter plot with histograms¶

../_images/sphx_glr_scatter_masked_thumb.png

Scatter Masked¶

../_images/sphx_glr_scatter_piecharts_thumb.png

Scatter plot with pie chart markers¶

../_images/sphx_glr_scatter_star_poly_thumb.png

Scatter Star Poly¶

../_images/sphx_glr_scatter_symbol_thumb.png

Scatter Symbol¶

../_images/sphx_glr_scatter_with_legend_thumb.png

Scatter plots with a legend¶

../_images/sphx_glr_simple_plot_thumb.png

Simple Plot¶

../_images/sphx_glr_span_regions_thumb.png

Using span_where¶

../_images/sphx_glr_spectrum_demo_thumb.png

Spectrum Representations¶

../_images/sphx_glr_stackplot_demo_thumb.png

Stackplot Demo¶

../_images/sphx_glr_stem_plot_thumb.png

Stem Plot¶

../_images/sphx_glr_step_demo_thumb.png

Step Demo¶

../_images/sphx_glr_timeline_thumb.png

Creating a timeline with lines, dates, and text¶

../_images/sphx_glr_vline_hline_demo_thumb.png

hlines and vlines¶

../_images/sphx_glr_xcorr_acorr_demo_thumb.png

Cross- and Auto-Correlation Demo¶

Images, contours and fields¶

../_images/sphx_glr_affine_image_thumb.png

Affine transform of an image¶

../_images/sphx_glr_barb_demo_thumb.png

Barb Demo¶

../_images/sphx_glr_barcode_demo_thumb.png

Barcode Demo¶

../_images/sphx_glr_contour_corner_mask_thumb.png

Contour Corner Mask¶

../_images/sphx_glr_contour_demo_thumb.png

Contour Demo¶

../_images/sphx_glr_contour_image_thumb.png

Contour Image¶

../_images/sphx_glr_contour_label_demo_thumb.png

Contour Label Demo¶

../_images/sphx_glr_contourf_demo_thumb.png

Contourf Demo¶

../_images/sphx_glr_contourf_hatching_thumb.png

Contourf Hatching¶

../_images/sphx_glr_contourf_log_thumb.png

Contourf and log color scale¶

../_images/sphx_glr_demo_bboximage_thumb.png

BboxImage Demo¶

../_images/sphx_glr_figimage_demo_thumb.png

Figimage Demo¶

../_images/sphx_glr_image_annotated_heatmap_thumb.png

Creating annotated heatmaps¶

../_images/sphx_glr_image_antialiasing_thumb.png

Image antialiasing¶

../_images/sphx_glr_image_clip_path_thumb.png

Clipping images with patches¶

../_images/sphx_glr_image_demo_thumb.png

Image Demo¶

../_images/sphx_glr_image_masked_thumb.png

Image Masked¶

../_images/sphx_glr_image_nonuniform_thumb.png

Image Nonuniform¶

../_images/sphx_glr_image_transparency_blend_thumb.png

Blend transparency with color in 2-D images¶

../_images/sphx_glr_image_zcoord_thumb.png

Modifying the coordinate formatter¶

../_images/sphx_glr_interpolation_methods_thumb.png

Interpolations for imshow¶

../_images/sphx_glr_irregulardatagrid_thumb.png

Contour plot of irregularly spaced data¶

../_images/sphx_glr_layer_images_thumb.png

Layer Images¶

../_images/sphx_glr_matshow_thumb.png

Matshow¶

../_images/sphx_glr_multi_image_thumb.png

Multi Image¶

../_images/sphx_glr_pcolor_demo_thumb.png

Pcolor Demo¶

../_images/sphx_glr_pcolormesh_levels_thumb.png

pcolormesh¶

../_images/sphx_glr_plot_streamplot_thumb.png

Streamplot¶

../_images/sphx_glr_quadmesh_demo_thumb.png

QuadMesh Demo¶

../_images/sphx_glr_quiver_demo_thumb.png

Advanced quiver and quiverkey functions¶

../_images/sphx_glr_quiver_simple_demo_thumb.png

Quiver Simple Demo¶

../_images/sphx_glr_shading_example_thumb.png

Shading example¶

../_images/sphx_glr_specgram_demo_thumb.png

Spectrogram Demo¶

../_images/sphx_glr_spy_demos_thumb.png

Spy Demos¶

../_images/sphx_glr_tricontour_demo_thumb.png

Tricontour Demo¶

../_images/sphx_glr_tricontour_smooth_delaunay_thumb.png

Tricontour Smooth Delaunay¶

../_images/sphx_glr_tricontour_smooth_user_thumb.png

Tricontour Smooth User¶

../_images/sphx_glr_trigradient_demo_thumb.png

Trigradient Demo¶

../_images/sphx_glr_triinterp_demo_thumb.png

Triinterp Demo¶

../_images/sphx_glr_tripcolor_demo_thumb.png

Tripcolor Demo¶

../_images/sphx_glr_triplot_demo_thumb.png

Triplot Demo¶

../_images/sphx_glr_watermark_image_thumb.png

Watermark image¶

Subplots, axes and figures¶

../_images/sphx_glr_align_labels_demo_thumb.png

Aligning Labels¶

../_images/sphx_glr_axes_demo_thumb.png

Axes Demo¶

../_images/sphx_glr_axes_margins_thumb.png

Controlling view limits using margins and sticky_edges¶

../_images/sphx_glr_axes_props_thumb.png

Axes Props¶

../_images/sphx_glr_axes_zoom_effect_thumb.png

Axes Zoom Effect¶

../_images/sphx_glr_axhspan_demo_thumb.png

axhspan Demo¶

../_images/sphx_glr_axis_equal_demo_thumb.png

Axis Equal Demo¶

../_images/sphx_glr_broken_axis_thumb.png

Broken Axis¶

../_images/sphx_glr_colorbar_placement_thumb.png

Placing Colorbars¶

../_images/sphx_glr_custom_figure_class_thumb.png

Custom Figure subclasses¶

../_images/sphx_glr_demo_constrained_layout_thumb.png

Resizing axes with constrained layout¶

../_images/sphx_glr_demo_tight_layout_thumb.png

Resizing axes with tight layout¶

../_images/sphx_glr_fahrenheit_celsius_scales_thumb.png

Different scales on the same axes¶

../_images/sphx_glr_figure_title_thumb.png

Figure Title¶

../_images/sphx_glr_ganged_plots_thumb.png

Creating adjacent subplots¶

../_images/sphx_glr_geo_demo_thumb.png

Geographic Projections¶

../_images/sphx_glr_gridspec_and_subplots_thumb.png

Combining two subplots using subplots and GridSpec¶

../_images/sphx_glr_gridspec_multicolumn_thumb.png

Using Gridspec to make multi-column/row subplot layouts¶

../_images/sphx_glr_gridspec_nested_thumb.png

Nested Gridspecs¶

../_images/sphx_glr_invert_axes_thumb.png

Invert Axes¶

../_images/sphx_glr_multiple_figs_demo_thumb.png

Multiple Figs Demo¶

../_images/sphx_glr_secondary_axis_thumb.png

Secondary Axis¶

../_images/sphx_glr_shared_axis_demo_thumb.png

Shared Axis Demo¶

../_images/sphx_glr_subplot_thumb.png

Multiple subplots¶

../_images/sphx_glr_subplot_demo_thumb.png

Basic Subplot Demo¶

../_images/sphx_glr_subplot_toolbar_thumb.png

Subplot Toolbar¶

../_images/sphx_glr_subplots_adjust_thumb.png

Subplots Adjust¶

../_images/sphx_glr_subplots_demo_thumb.png

Creating multiple subplots using plt.subplots¶

../_images/sphx_glr_two_scales_thumb.png

Plots with different scales¶

../_images/sphx_glr_zoom_inset_axes_thumb.png

Zoom region inset axes¶

Statistics¶

../_images/sphx_glr_barchart_demo_thumb.png

Percentiles as horizontal bar chart¶

../_images/sphx_glr_boxplot_thumb.png

Artist customization in box plots¶

../_images/sphx_glr_boxplot_color_thumb.png

Box plots with custom fill colors¶

../_images/sphx_glr_boxplot_demo_thumb.png

Boxplots¶

../_images/sphx_glr_boxplot_vs_violin_thumb.png

Box plot vs. violin plot comparison¶

../_images/sphx_glr_bxp_thumb.png

Boxplot drawer function¶

../_images/sphx_glr_confidence_ellipse_thumb.png

Plot a confidence ellipse of a two-dimensional dataset¶

../_images/sphx_glr_customized_violin_thumb.png

Violin plot customization¶

../_images/sphx_glr_errorbar_thumb.png

Errorbar function¶

../_images/sphx_glr_errorbar_features_thumb.png

Different ways of specifying error bars¶

../_images/sphx_glr_errorbar_limits_thumb.png

Including upper and lower limits in error bars¶

../_images/sphx_glr_errorbars_and_boxes_thumb.png

Creating boxes from error bars using PatchCollection¶

../_images/sphx_glr_hexbin_demo_thumb.png

Hexbin Demo¶

../_images/sphx_glr_hist_thumb.png

Histograms¶

../_images/sphx_glr_histogram_cumulative_thumb.png

Using histograms to plot a cumulative distribution¶

../_images/sphx_glr_histogram_features_thumb.png

Demo of the histogram (hist) function with a few features¶

../_images/sphx_glr_histogram_histtypes_thumb.png

Demo of the histogram function's different histtype settings¶

../_images/sphx_glr_histogram_multihist_thumb.png

The histogram (hist) function with multiple data sets¶

../_images/sphx_glr_multiple_histograms_side_by_side_thumb.png

Producing multiple histograms side by side¶

../_images/sphx_glr_violinplot_thumb.png

Violin plot basics¶

Pie and polar charts¶

../_images/sphx_glr_pie_features_thumb.png

Basic pie chart¶

../_images/sphx_glr_pie_demo2_thumb.png

Pie Demo2¶

../_images/sphx_glr_bar_of_pie_thumb.png

Bar of pie¶

../_images/sphx_glr_nested_pie_thumb.png

Nested pie charts¶

../_images/sphx_glr_pie_and_donut_labels_thumb.png

Labeling a pie and a donut¶

../_images/sphx_glr_polar_bar_thumb.png

Bar chart on polar axis¶

../_images/sphx_glr_polar_demo_thumb.png

Polar Demo¶

../_images/sphx_glr_polar_legend_thumb.png

Polar Legend¶

../_images/sphx_glr_polar_scatter_thumb.png

Scatter plot on polar axis¶

Text, labels and annotations¶

../_images/sphx_glr_accented_text_thumb.png

Using accented text in matplotlib¶

../_images/sphx_glr_annotation_demo_thumb.png

Annotating Plots¶

../_images/sphx_glr_arrow_demo_thumb.png

Arrow Demo¶

../_images/sphx_glr_arrow_simple_demo_thumb.png

Arrow Simple Demo¶

../_images/sphx_glr_autowrap_thumb.png

Auto-wrapping text¶

../_images/sphx_glr_custom_legends_thumb.png

Composing Custom Legends¶

../_images/sphx_glr_dashpointlabel_thumb.png

Dashpoint Label¶

../_images/sphx_glr_date_thumb.png

Date tick labels¶

../_images/sphx_glr_date_index_formatter_thumb.png

Custom tick formatter for time series¶

../_images/sphx_glr_demo_annotation_box_thumb.png

Demo Annotation Box¶

../_images/sphx_glr_demo_text_path_thumb.png

Demo Text Path¶

../_images/sphx_glr_demo_text_rotation_mode_thumb.png

Demo Text Rotation Mode¶

../_images/sphx_glr_dfrac_demo_thumb.png

The difference between \dfrac and \frac¶

../_images/sphx_glr_engineering_formatter_thumb.png

Labeling ticks using engineering notation¶

../_images/sphx_glr_fancyarrow_demo_thumb.png

Fancyarrow Demo¶

../_images/sphx_glr_fancytextbox_demo_thumb.png

Fancytextbox Demo¶

../_images/sphx_glr_figlegend_demo_thumb.png

Figure legend demo¶

../_images/sphx_glr_font_family_rc_sgskip_thumb.png

Configuring the font family¶

../_images/sphx_glr_font_file_thumb.png

Using a ttf font file in Matplotlib¶

../_images/sphx_glr_font_table_thumb.png

Font table¶

../_images/sphx_glr_fonts_demo_thumb.png

Fonts demo (object-oriented style)¶

../_images/sphx_glr_fonts_demo_kw_thumb.png

Fonts demo (kwargs)¶

../_images/sphx_glr_legend_thumb.png

Legend using pre-defined labels¶

../_images/sphx_glr_legend_demo_thumb.png

Legend Demo¶

../_images/sphx_glr_line_with_text_thumb.png

Artist within an artist¶

../_images/sphx_glr_mathtext_asarray_thumb.png

A mathtext image as numpy array¶

../_images/sphx_glr_mathtext_demo_thumb.png

Mathtext Demo¶

../_images/sphx_glr_mathtext_examples_thumb.png

Mathtext Examples¶

../_images/sphx_glr_multiline_thumb.png

Multiline¶

../_images/sphx_glr_rainbow_text_thumb.png

Rainbow text¶

../_images/sphx_glr_stix_fonts_demo_thumb.png

STIX Fonts Demo¶

../_images/sphx_glr_tex_demo_thumb.png

Rendering math equation using TeX¶

../_images/sphx_glr_text_alignment_thumb.png

Precise text layout¶

../_images/sphx_glr_text_fontdict_thumb.png

Controlling style of text and labels using a dictionary¶

../_images/sphx_glr_text_rotation_thumb.png

Default text rotation demonstration¶

../_images/sphx_glr_text_rotation_relative_to_line_thumb.png

Text Rotation Relative To Line¶

../_images/sphx_glr_titles_demo_thumb.png

Titles Demo¶

../_images/sphx_glr_unicode_minus_thumb.png

Unicode minus¶

../_images/sphx_glr_usetex_baseline_test_thumb.png

Usetex Baseline Test¶

../_images/sphx_glr_usetex_demo_thumb.png

Usetex Demo¶

../_images/sphx_glr_usetex_fonteffects_thumb.png

Usetex Fonteffects¶

../_images/sphx_glr_watermark_text_thumb.png

Text watermark¶

Pyplot¶

../_images/sphx_glr_align_ylabels_thumb.png

Align y-labels¶

../_images/sphx_glr_annotate_transform_thumb.png

Annotate Transform¶

../_images/sphx_glr_annotation_basic_thumb.png

Annotating a plot¶

../_images/sphx_glr_annotation_polar_thumb.png

Annotation Polar¶

../_images/sphx_glr_auto_subplots_adjust_thumb.png

Auto Subplots Adjust¶

../_images/sphx_glr_axline_thumb.png

Infinite horizontal and vertical lines¶

../_images/sphx_glr_boxplot_demo_pyplot_thumb.png

Boxplot Demo¶

../_images/sphx_glr_dollar_ticks_thumb.png

Dollar Ticks¶

../_images/sphx_glr_fig_axes_customize_simple_thumb.png

Fig Axes Customize Simple¶

../_images/sphx_glr_fig_axes_labels_simple_thumb.png

Simple axes labels¶

../_images/sphx_glr_fig_x_thumb.png

Adding lines to figures¶

../_images/sphx_glr_pyplot_formatstr_thumb.png

plot() format string¶

../_images/sphx_glr_pyplot_mathtext_thumb.png

Pyplot Mathtext¶

../_images/sphx_glr_pyplot_simple_thumb.png

Pyplot Simple¶

../_images/sphx_glr_pyplot_text_thumb.png

Pyplot Text¶

../_images/sphx_glr_pyplot_three_thumb.png

Pyplot Three¶

../_images/sphx_glr_pyplot_two_subplots_thumb.png

Pyplot Two Subplots¶

../_images/sphx_glr_text_commands_thumb.png

Text Commands¶

../_images/sphx_glr_text_layout_thumb.png

Text Layout¶

../_images/sphx_glr_whats_new_1_subplot3d_thumb.png

Whats New 1 Subplot3d¶

../_images/sphx_glr_whats_new_98_4_fill_between_thumb.png

Fill Between¶

../_images/sphx_glr_whats_new_98_4_legend_thumb.png

Whats New 0.98.4 Legend¶

../_images/sphx_glr_whats_new_99_axes_grid_thumb.png

Whats New 0.99 Axes Grid¶

../_images/sphx_glr_whats_new_99_mplot3d_thumb.png

Whats New 0.99 Mplot3d¶

../_images/sphx_glr_whats_new_99_spines_thumb.png

Whats New 0.99 Spines¶

Color¶

For more in-depth information about the colormaps available in matplotlib as well as a description of their properties, see the colormaps tutorial.

../_images/sphx_glr_color_demo_thumb.png

Color Demo¶

../_images/sphx_glr_color_by_yvalue_thumb.png

Color by y-value¶

../_images/sphx_glr_color_cycle_default_thumb.png

Colors in the default property cycle¶

../_images/sphx_glr_color_cycler_thumb.png

Styling with cycler¶

../_images/sphx_glr_colorbar_basics_thumb.png

Colorbar¶

../_images/sphx_glr_colormap_reference_thumb.png

Colormap reference¶

../_images/sphx_glr_custom_cmap_thumb.png

Creating a colormap from a list of colors¶

../_images/sphx_glr_named_colors_thumb.png

List of named colors¶

Shapes and collections¶

../_images/sphx_glr_arrow_guide_thumb.png

Arrow guide¶

../_images/sphx_glr_artist_reference_thumb.png

Reference for Matplotlib artists¶

../_images/sphx_glr_collections_thumb.png

Line, Poly and RegularPoly Collection with autoscaling¶

../_images/sphx_glr_compound_path_thumb.png

Compound path¶

../_images/sphx_glr_dolphin_thumb.png

Dolphins¶

../_images/sphx_glr_donut_thumb.png

Mmh Donuts!!!¶

../_images/sphx_glr_ellipse_collection_thumb.png

Ellipse Collection¶

../_images/sphx_glr_ellipse_demo_thumb.png

Ellipse Demo¶

../_images/sphx_glr_fancybox_demo_thumb.png

Drawing fancy boxes¶

../_images/sphx_glr_hatch_demo_thumb.png

Hatch Demo¶

../_images/sphx_glr_line_collection_thumb.png

Line Collection¶

../_images/sphx_glr_marker_path_thumb.png

Marker Path¶

../_images/sphx_glr_patch_collection_thumb.png

Circles, Wedges and Polygons¶

../_images/sphx_glr_path_patch_thumb.png

PathPatch object¶

../_images/sphx_glr_quad_bezier_thumb.png

Bezier Curve¶

../_images/sphx_glr_scatter_thumb.png

Scatter plot¶

Style sheets¶

../_images/sphx_glr_bmh_thumb.png

Bayesian Methods for Hackers style sheet¶

../_images/sphx_glr_dark_background_thumb.png

Dark background style sheet¶

../_images/sphx_glr_fivethirtyeight_thumb.png

FiveThirtyEight style sheet¶

../_images/sphx_glr_ggplot_thumb.png

ggplot style sheet¶

../_images/sphx_glr_grayscale_thumb.png

Grayscale style sheet¶

../_images/sphx_glr_plot_solarizedlight2_thumb.png

Solarized Light stylesheet¶

../_images/sphx_glr_style_sheets_reference_thumb.png

Style sheets reference¶

Axes Grid¶

../_images/sphx_glr_demo_anchored_direction_arrows_thumb.png

Demo Anchored Direction Arrow¶

../_images/sphx_glr_demo_axes_divider_thumb.png

Demo Axes Divider¶

../_images/sphx_glr_demo_axes_grid_thumb.png

Demo Axes Grid¶

../_images/sphx_glr_demo_axes_grid2_thumb.png

Demo Axes Grid2¶

../_images/sphx_glr_demo_axes_hbox_divider_thumb.png

Demo Axes Hbox Divider¶

../_images/sphx_glr_demo_axes_rgb_thumb.png

Demo Axes RGB¶

../_images/sphx_glr_demo_colorbar_of_inset_axes_thumb.png

Demo Colorbar of Inset Axes¶

../_images/sphx_glr_demo_colorbar_with_axes_divider_thumb.png

Demo Colorbar with Axes Divider¶

../_images/sphx_glr_demo_colorbar_with_inset_locator_thumb.png

Controlling the position and size of colorbars with Inset Axes¶

../_images/sphx_glr_demo_edge_colorbar_thumb.png

Demo Edge Colorbar¶

../_images/sphx_glr_demo_fixed_size_axes_thumb.png

Demo Fixed Size Axes¶

../_images/sphx_glr_demo_imagegrid_aspect_thumb.png

Demo Imagegrid Aspect¶

../_images/sphx_glr_inset_locator_demo_thumb.png

Inset Locator Demo¶

../_images/sphx_glr_inset_locator_demo2_thumb.png

Inset Locator Demo2¶

../_images/sphx_glr_make_room_for_ylabel_using_axesgrid_thumb.png

Make Room For Ylabel Using Axesgrid¶

../_images/sphx_glr_parasite_simple_thumb.png

Parasite Simple¶

../_images/sphx_glr_parasite_simple2_thumb.png

Parasite Simple2¶

../_images/sphx_glr_scatter_hist_locatable_axes_thumb.png

Scatter Histogram (Locatable Axes)¶

../_images/sphx_glr_simple_anchored_artists_thumb.png

Simple Anchored Artists¶

../_images/sphx_glr_simple_axes_divider1_thumb.png

Simple Axes Divider 1¶

../_images/sphx_glr_simple_axes_divider2_thumb.png

Simple Axes Divider 2¶

../_images/sphx_glr_simple_axes_divider3_thumb.png

Simple Axes Divider 3¶

../_images/sphx_glr_simple_axesgrid_thumb.png

Simple ImageGrid¶

../_images/sphx_glr_simple_axesgrid2_thumb.png

Simple ImageGrid 2¶

../_images/sphx_glr_simple_axisline4_thumb.png

Simple Axisline4¶

../_images/sphx_glr_simple_colorbar_thumb.png

Simple Colorbar¶

../_images/sphx_glr_simple_rgb_thumb.png

Simple RGB¶

Axis Artist¶

../_images/sphx_glr_axis_direction_demo_step01_thumb.png

Axis Direction Demo Step01¶

../_images/sphx_glr_axis_direction_demo_step02_thumb.png

Axis Direction Demo Step02¶

../_images/sphx_glr_axis_direction_demo_step03_thumb.png

Axis Direction Demo Step03¶

../_images/sphx_glr_axis_direction_demo_step04_thumb.png

Axis Direction Demo Step04¶

../_images/sphx_glr_demo_axis_direction_thumb.png

Demo Axis Direction¶

../_images/sphx_glr_demo_axisline_style_thumb.png

Axis line styles¶

../_images/sphx_glr_demo_curvelinear_grid_thumb.png

Curvilinear grid demo¶

../_images/sphx_glr_demo_curvelinear_grid2_thumb.png

Demo Curvelinear Grid2¶

../_images/sphx_glr_demo_floating_axes_thumb.png

mpl_toolkits.axisartist.floating_axes features¶

../_images/sphx_glr_demo_floating_axis_thumb.png

Demo Floating Axis¶

../_images/sphx_glr_demo_parasite_axes_thumb.png

Parasite Axes demo¶

../_images/sphx_glr_demo_parasite_axes2_thumb.png

Demo Parasite Axes2¶

../_images/sphx_glr_demo_ticklabel_alignment_thumb.png

Demo Ticklabel Alignment¶

../_images/sphx_glr_demo_ticklabel_direction_thumb.png

Demo Ticklabel Direction¶

../_images/sphx_glr_simple_axis_direction01_thumb.png

Simple Axis Direction01¶

../_images/sphx_glr_simple_axis_direction03_thumb.png

Simple Axis Direction03¶

../_images/sphx_glr_simple_axis_pad_thumb.png

Simple Axis Pad¶

../_images/sphx_glr_simple_axisartist1_thumb.png

Simple Axisartist1¶

../_images/sphx_glr_simple_axisline_thumb.png

Simple Axisline¶

../_images/sphx_glr_simple_axisline2_thumb.png

Simple Axisline2¶

../_images/sphx_glr_simple_axisline3_thumb.png

Simple Axisline3¶

Showcase¶

../_images/sphx_glr_anatomy_thumb.png

Anatomy of a figure¶

../_images/sphx_glr_bachelors_degrees_by_gender_thumb.png

Bachelor's degrees by gender¶

../_images/sphx_glr_firefox_thumb.png

Firefox¶

../_images/sphx_glr_integral_thumb.png

Integral as the area under a curve¶

../_images/sphx_glr_mandelbrot_thumb.png

Shaded & power normalized rendering¶

../_images/sphx_glr_xkcd_thumb.png

XKCD¶

Animation¶

../_images/sphx_glr_animate_decay_thumb.png

Decay¶

../_images/sphx_glr_animated_histogram_thumb.png

Animated histogram¶

../_images/sphx_glr_animation_demo_thumb.png

pyplot animation¶

../_images/sphx_glr_bayes_update_thumb.png

The Bayes update¶

../_images/sphx_glr_double_pendulum_sgskip_thumb.png

The double pendulum problem¶

../_images/sphx_glr_dynamic_image_thumb.png

Animated image using a precomputed list of images¶

../_images/sphx_glr_frame_grabbing_sgskip_thumb.png

Frame grabbing¶

../_images/sphx_glr_rain_thumb.png

Rain simulation¶

../_images/sphx_glr_random_walk_thumb.png

Animated 3D random walk¶

../_images/sphx_glr_simple_anim_thumb.png

Animated line plot¶

../_images/sphx_glr_strip_chart_thumb.png

Oscilloscope¶

../_images/sphx_glr_unchained_thumb.png

MATPLOTLIB UNCHAINED¶

Event handling¶

Matplotlib supports 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.

../_images/sphx_glr_close_event_thumb.png

Close Event¶

../_images/sphx_glr_coords_demo_thumb.png

Coords demo¶

../_images/sphx_glr_data_browser_thumb.png

Data Browser¶

../_images/sphx_glr_figure_axes_enter_leave_thumb.png

Figure Axes Enter Leave¶

../_images/sphx_glr_ginput_manual_clabel_sgskip_thumb.png

Interactive functions¶

../_images/sphx_glr_image_slices_viewer_thumb.png

Image Slices Viewer¶

../_images/sphx_glr_keypress_demo_thumb.png

Keypress Demo¶

../_images/sphx_glr_lasso_demo_thumb.png

Lasso Demo¶

../_images/sphx_glr_legend_picking_thumb.png

Legend Picking¶

../_images/sphx_glr_looking_glass_thumb.png

Looking Glass¶

../_images/sphx_glr_path_editor_thumb.png

Path Editor¶

../_images/sphx_glr_pick_event_demo_thumb.png

Pick Event Demo¶

../_images/sphx_glr_pick_event_demo2_thumb.png

Pick Event Demo2¶

../_images/sphx_glr_pipong_thumb.png

Pipong¶

../_images/sphx_glr_poly_editor_thumb.png

Poly Editor¶

../_images/sphx_glr_pong_sgskip_thumb.png

Pong¶

../_images/sphx_glr_resample_thumb.png

Resampling Data¶

../_images/sphx_glr_timers_thumb.png

Timers¶

../_images/sphx_glr_trifinder_event_demo_thumb.png

Trifinder Event Demo¶

../_images/sphx_glr_viewlims_thumb.png

Viewlims¶

../_images/sphx_glr_zoom_window_thumb.png

Zoom Window¶

Front Page¶

../_images/sphx_glr_3D_thumb.png

Frontpage 3D example¶

../_images/sphx_glr_contour_thumb.png

Frontpage contour example¶

../_images/sphx_glr_histogram_thumb.png

Frontpage histogram example¶

../_images/sphx_glr_membrane_thumb.png

Frontpage plot example¶

Miscellaneous¶

../_images/sphx_glr_agg_buffer_thumb.png

Agg Buffer¶

../_images/sphx_glr_agg_buffer_to_array_thumb.png

Agg Buffer To Array¶

../_images/sphx_glr_anchored_artists_thumb.png

Anchored Artists¶

../_images/sphx_glr_bbox_intersect_thumb.png

Changing colors of lines intersecting a box¶

../_images/sphx_glr_contour_manual_thumb.png

Manual Contour¶

../_images/sphx_glr_coords_report_thumb.png

Coords Report¶

../_images/sphx_glr_cursor_demo_sgskip_thumb.png

Cursor Demo¶

../_images/sphx_glr_custom_projection_thumb.png

Custom projection¶

../_images/sphx_glr_customize_rc_thumb.png

Customize Rc¶

../_images/sphx_glr_demo_agg_filter_thumb.png

Demo Agg Filter¶

../_images/sphx_glr_demo_ribbon_box_thumb.png

Ribbon Box¶

../_images/sphx_glr_fill_spiral_thumb.png

Fill Spiral¶

../_images/sphx_glr_findobj_demo_thumb.png

Findobj Demo¶

../_images/sphx_glr_font_indexing_thumb.png

Font indexing¶

../_images/sphx_glr_ftface_props_thumb.png

Font properties¶

../_images/sphx_glr_histogram_path_thumb.png

Building histograms using Rectangles and PolyCollections¶

../_images/sphx_glr_hyperlinks_sgskip_thumb.png

Hyperlinks¶

../_images/sphx_glr_image_thumbnail_sgskip_thumb.png

Image Thumbnail¶

../_images/sphx_glr_keyword_plotting_thumb.png

Plotting with keywords¶

../_images/sphx_glr_load_converter_thumb.png

Load converter¶

../_images/sphx_glr_logos2_thumb.png

Matplotlib logo¶

../_images/sphx_glr_multipage_pdf_thumb.png

Multipage PDF¶

../_images/sphx_glr_multiprocess_sgskip_thumb.png

Multiprocess¶

../_images/sphx_glr_patheffect_demo_thumb.png

Patheffect Demo¶

../_images/sphx_glr_plotfile_demo_sgskip_thumb.png

Plotting data from a file¶

../_images/sphx_glr_print_stdout_sgskip_thumb.png

Print Stdout¶

../_images/sphx_glr_pythonic_matplotlib_thumb.png

Pythonic Matplotlib¶

../_images/sphx_glr_rasterization_demo_thumb.png

Rasterization Demo¶

../_images/sphx_glr_set_and_get_thumb.png

Set And Get¶

../_images/sphx_glr_svg_filter_line_thumb.png

SVG Filter Line¶

../_images/sphx_glr_svg_filter_pie_thumb.png

SVG Filter Pie¶

../_images/sphx_glr_table_demo_thumb.png

Table Demo¶

../_images/sphx_glr_transoffset_thumb.png

Transoffset¶

../_images/sphx_glr_zorder_demo_thumb.png

Zorder Demo¶

3D plotting¶

../_images/sphx_glr_2dcollections3d_thumb.png

Plot 2D data on 3D plot¶

../_images/sphx_glr_3d_bars_thumb.png

Demo of 3D bar charts¶

../_images/sphx_glr_bars3d_thumb.png

Create 2D bar graphs in different planes¶

../_images/sphx_glr_contour3d_thumb.png

Demonstrates plotting contour (level) curves in 3D¶

../_images/sphx_glr_contour3d_2_thumb.png

Demonstrates plotting contour (level) curves in 3D using the extend3d option¶

../_images/sphx_glr_contour3d_3_thumb.png

Projecting contour profiles onto a graph¶

../_images/sphx_glr_contourf3d_thumb.png

Filled contours¶

../_images/sphx_glr_contourf3d_2_thumb.png

Projecting filled contour onto a graph¶

../_images/sphx_glr_custom_shaded_3d_surface_thumb.png

Custom hillshading in a 3D surface plot¶

../_images/sphx_glr_hist3d_thumb.png

Create 3D histogram of 2D data¶

../_images/sphx_glr_lines3d_thumb.png

Parametric Curve¶

../_images/sphx_glr_lorenz_attractor_thumb.png

Lorenz Attractor¶

../_images/sphx_glr_mixed_subplots_thumb.png

2D and 3D Axes in same Figure¶

../_images/sphx_glr_offset_thumb.png

Automatic Text Offsetting¶

../_images/sphx_glr_pathpatch3d_thumb.png

Draw flat objects in 3D plot¶

../_images/sphx_glr_polys3d_thumb.png

Generate polygons to fill under 3D line graph¶

../_images/sphx_glr_quiver3d_thumb.png

3D quiver plot¶

../_images/sphx_glr_rotate_axes3d_sgskip_thumb.png

Rotating a 3D plot¶

../_images/sphx_glr_scatter3d_thumb.png

3D scatterplot¶

../_images/sphx_glr_subplot3d_thumb.png

3D plots as subplots¶

../_images/sphx_glr_surface3d_thumb.png

3D surface (color map)¶

../_images/sphx_glr_surface3d_2_thumb.png

3D surface (solid color)¶

../_images/sphx_glr_surface3d_3_thumb.png

3D surface (checkerboard)¶

../_images/sphx_glr_surface3d_radial_thumb.png

3D surface with polar coordinates¶

../_images/sphx_glr_text3d_thumb.png

Text annotations in 3D¶

../_images/sphx_glr_tricontour3d_thumb.png

Triangular 3D contour plot¶

../_images/sphx_glr_tricontourf3d_thumb.png

Triangular 3D filled contour plot¶

../_images/sphx_glr_trisurf3d_thumb.png

Triangular 3D surfaces¶

../_images/sphx_glr_trisurf3d_2_thumb.png

More triangular 3D surfaces¶

../_images/sphx_glr_voxels_thumb.png

3D voxel / volumetric plot¶

../_images/sphx_glr_voxels_numpy_logo_thumb.png

3D voxel plot of the numpy logo¶

../_images/sphx_glr_voxels_rgb_thumb.png

3D voxel / volumetric plot with rgb colors¶

../_images/sphx_glr_voxels_torus_thumb.png

3D voxel / volumetric plot with cylindrical coordinates¶

../_images/sphx_glr_wire3d_thumb.png

3D wireframe plot¶

../_images/sphx_glr_wire3d_animation_sgskip_thumb.png

Rotating 3D wireframe plot¶

../_images/sphx_glr_wire3d_zero_stride_thumb.png

3D wireframe plots in one direction¶

Our Favorite Recipes¶

Here is a collection of short tutorials, examples and code snippets that illustrate some of the useful idioms and tricks to make snazzier figures and overcome some matplotlib warts.

../_images/sphx_glr_common_date_problems_thumb.png

Fixing common date annoyances¶

../_images/sphx_glr_create_subplots_thumb.png

Easily creating subplots¶

../_images/sphx_glr_fill_between_alpha_thumb.png

Fill Between and Alpha¶

../_images/sphx_glr_placing_text_boxes_thumb.png

Placing text boxes¶

../_images/sphx_glr_share_axis_lims_views_thumb.png

Sharing axis limits and views¶

Scales¶

These examples cover how different scales are handled in Matplotlib.

../_images/sphx_glr_aspect_loglog_thumb.png

Loglog Aspect¶

../_images/sphx_glr_custom_scale_thumb.png

Custom scale¶

../_images/sphx_glr_log_bar_thumb.png

Log Bar¶

../_images/sphx_glr_log_demo_thumb.png

Log Demo¶

../_images/sphx_glr_log_test_thumb.png

Log Axis¶

../_images/sphx_glr_logit_demo_thumb.png

Logit Demo¶

../_images/sphx_glr_power_norm_thumb.png

Exploring normalizations¶

../_images/sphx_glr_scales_thumb.png

Scales¶

../_images/sphx_glr_symlog_demo_thumb.png

Symlog Demo¶

Specialty Plots¶

../_images/sphx_glr_advanced_hillshading_thumb.png

Hillshading¶

../_images/sphx_glr_anscombe_thumb.png

Anscombe's quartet¶

../_images/sphx_glr_hinton_demo_thumb.png

Hinton diagrams¶

../_images/sphx_glr_leftventricle_bulleye_thumb.png

Left ventricle bullseye¶

../_images/sphx_glr_mri_demo_thumb.png

MRI¶

../_images/sphx_glr_mri_with_eeg_thumb.png

MRI With EEG¶

../_images/sphx_glr_radar_chart_thumb.png

Radar chart (aka spider or star chart)¶

../_images/sphx_glr_sankey_basics_thumb.png

The Sankey class¶

../_images/sphx_glr_sankey_links_thumb.png

Long chain of connections using Sankey¶

../_images/sphx_glr_sankey_rankine_thumb.png

Rankine power cycle¶

../_images/sphx_glr_skewt_thumb.png

SkewT-logP diagram: using transforms and custom projections¶

../_images/sphx_glr_topographic_hillshading_thumb.png

Topographic hillshading¶

Ticks and spines¶

../_images/sphx_glr_auto_ticks_thumb.png

Automatically setting tick labels¶

../_images/sphx_glr_centered_ticklabels_thumb.png

Centering labels between ticks¶

../_images/sphx_glr_colorbar_tick_labelling_demo_thumb.png

Colorbar Tick Labelling Demo¶

../_images/sphx_glr_custom_ticker1_thumb.png

Custom Ticker1¶

../_images/sphx_glr_date_concise_formatter_thumb.png

Formatting date ticks using ConciseDateFormatter¶

../_images/sphx_glr_date_demo_convert_thumb.png

Date Demo Convert¶

../_images/sphx_glr_date_demo_rrule_thumb.png

Date Demo Rrule¶

../_images/sphx_glr_date_index_formatter2_thumb.png

Date Index Formatter¶

../_images/sphx_glr_major_minor_demo_thumb.png

Major and minor ticks¶

../_images/sphx_glr_multiple_yaxis_with_spines_thumb.png

Multiple Yaxis With Spines¶

../_images/sphx_glr_scalarformatter_thumb.png

The default tick formatter¶

../_images/sphx_glr_spine_placement_demo_thumb.png

Spine Placement Demo¶

../_images/sphx_glr_spines_thumb.png

Spines¶

../_images/sphx_glr_spines_bounds_thumb.png

Custom spine bounds¶

../_images/sphx_glr_spines_dropped_thumb.png

Dropped spines¶

../_images/sphx_glr_tick-formatters_thumb.png

Tick formatters¶

../_images/sphx_glr_tick-locators_thumb.png

Tick locators¶

../_images/sphx_glr_tick_label_right_thumb.png

Set default y-axis tick labels on the right¶

../_images/sphx_glr_tick_labels_from_values_thumb.png

Setting tick labels from a list of values¶

../_images/sphx_glr_tick_xlabel_top_thumb.png

Set default x-axis tick labels on the top¶

../_images/sphx_glr_ticklabels_rotation_thumb.png

Rotating custom tick labels¶

Units¶

These examples cover the many representations of units in Matplotlib.

../_images/sphx_glr_annotate_with_units_thumb.png

Annotation with units¶

../_images/sphx_glr_artist_tests_thumb.png

Artist tests¶

../_images/sphx_glr_bar_demo2_thumb.png

Bar demo with units¶

../_images/sphx_glr_bar_unit_demo_thumb.png

Group barchart with units¶

../_images/sphx_glr_basic_units_thumb.png

Basic Units¶

../_images/sphx_glr_ellipse_with_units_thumb.png

Ellipse With Units¶

../_images/sphx_glr_evans_test_thumb.png

Evans test¶

../_images/sphx_glr_radian_demo_thumb.png

Radian ticks¶

../_images/sphx_glr_units_sample_thumb.png

Inches and Centimeters¶

../_images/sphx_glr_units_scatter_thumb.png

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 wxpython, pygtk, tkinter and pyqt4/5.

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

../_images/sphx_glr_canvasagg_thumb.png

CanvasAgg demo¶

../_images/sphx_glr_embedding_in_gtk3_panzoom_sgskip_thumb.png

Embedding in GTK3 with a navigation toolbar¶

../_images/sphx_glr_embedding_in_gtk3_sgskip_thumb.png

Embedding in GTK3¶

../_images/sphx_glr_embedding_in_qt_sgskip_thumb.png

Embedding in Qt¶

../_images/sphx_glr_embedding_in_tk_sgskip_thumb.png

Embedding in Tk¶

../_images/sphx_glr_embedding_in_wx2_sgskip_thumb.png

Embedding in wx #2¶

../_images/sphx_glr_embedding_in_wx3_sgskip_thumb.png

Embedding in wx #3¶

../_images/sphx_glr_embedding_in_wx4_sgskip_thumb.png

Embedding in wx #4¶

../_images/sphx_glr_embedding_in_wx5_sgskip_thumb.png

Embedding in wx #5¶

../_images/sphx_glr_embedding_webagg_sgskip_thumb.png

Embedding WebAgg¶

../_images/sphx_glr_fourier_demo_wx_sgskip_thumb.png

Fourier Demo WX¶

../_images/sphx_glr_gtk_spreadsheet_sgskip_thumb.png

GTK Spreadsheet¶

../_images/sphx_glr_mathtext_wx_sgskip_thumb.png

MathText WX¶

../_images/sphx_glr_mpl_with_glade3_sgskip_thumb.png

Matplotlib With Glade 3¶

../_images/sphx_glr_pylab_with_gtk_sgskip_thumb.png

pyplot with GTK¶

../_images/sphx_glr_svg_histogram_sgskip_thumb.png

SVG Histogram¶

../_images/sphx_glr_svg_tooltip_sgskip_thumb.png

SVG Tooltip¶

../_images/sphx_glr_toolmanager_sgskip_thumb.png

Tool Manager¶

../_images/sphx_glr_wxcursor_demo_sgskip_thumb.png

WXcursor Demo¶

Userdemo¶

../_images/sphx_glr_anchored_box01_thumb.png

Anchored Box01¶

../_images/sphx_glr_anchored_box02_thumb.png

Anchored Box02¶

../_images/sphx_glr_anchored_box03_thumb.png

Anchored Box03¶

../_images/sphx_glr_anchored_box04_thumb.png

Anchored Box04¶

../_images/sphx_glr_annotate_explain_thumb.png

Annotate Explain¶

../_images/sphx_glr_annotate_simple01_thumb.png

Annotate Simple01¶

../_images/sphx_glr_annotate_simple02_thumb.png

Annotate Simple02¶

../_images/sphx_glr_annotate_simple03_thumb.png

Annotate Simple03¶

../_images/sphx_glr_annotate_simple04_thumb.png

Annotate Simple04¶

../_images/sphx_glr_annotate_simple_coord01_thumb.png

Annotate Simple Coord01¶

../_images/sphx_glr_annotate_simple_coord02_thumb.png

Annotate Simple Coord02¶

../_images/sphx_glr_annotate_simple_coord03_thumb.png

Annotate Simple Coord03¶

../_images/sphx_glr_annotate_text_arrow_thumb.png

Annotate Text Arrow¶

../_images/sphx_glr_colormap_normalizations_thumb.png

Colormap Normalizations¶

../_images/sphx_glr_colormap_normalizations_bounds_thumb.png

Colormap Normalizations Bounds¶

../_images/sphx_glr_colormap_normalizations_custom_thumb.png

Colormap Normalizations Custom¶

../_images/sphx_glr_colormap_normalizations_diverging_thumb.png

TwoSlopeNorm colormap normalization¶

../_images/sphx_glr_colormap_normalizations_lognorm_thumb.png

Colormap Normalizations Lognorm¶

../_images/sphx_glr_colormap_normalizations_power_thumb.png

Colormap Normalizations Power¶

../_images/sphx_glr_colormap_normalizations_symlognorm_thumb.png

Colormap Normalizations Symlognorm¶

../_images/sphx_glr_connect_simple01_thumb.png

Connect Simple01¶

../_images/sphx_glr_connectionstyle_demo_thumb.png

Connectionstyle Demo¶

../_images/sphx_glr_custom_boxstyle01_thumb.png

Custom Boxstyle01¶

../_images/sphx_glr_custom_boxstyle02_thumb.png

Custom Boxstyle02¶

../_images/sphx_glr_demo_gridspec01_thumb.png

subplot2grid demo¶

../_images/sphx_glr_demo_gridspec03_thumb.png

GridSpec demo¶

../_images/sphx_glr_demo_gridspec06_thumb.png

Nested GridSpecs¶

../_images/sphx_glr_pgf_fonts_thumb.png

Pgf Fonts¶

../_images/sphx_glr_pgf_preamble_sgskip_thumb.png

Pgf Preamble¶

../_images/sphx_glr_pgf_texsystem_thumb.png

Pgf Texsystem¶

../_images/sphx_glr_simple_annotate01_thumb.png

Simple Annotate01¶

../_images/sphx_glr_simple_legend01_thumb.png

Simple Legend01¶

../_images/sphx_glr_simple_legend02_thumb.png

Simple Legend02¶

Widgets¶

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

../_images/sphx_glr_buttons_thumb.png

Buttons¶

../_images/sphx_glr_check_buttons_thumb.png

Check Buttons¶

../_images/sphx_glr_cursor_thumb.png

Cursor¶

../_images/sphx_glr_lasso_selector_demo_sgskip_thumb.png

Lasso Selector Demo¶

../_images/sphx_glr_menu_thumb.png

Menu¶

../_images/sphx_glr_multicursor_thumb.png

Multicursor¶

../_images/sphx_glr_polygon_selector_demo_thumb.png

Polygon Selector Demo¶

../_images/sphx_glr_radio_buttons_thumb.png

Radio Buttons¶

../_images/sphx_glr_rectangle_selector_thumb.png

Rectangle Selector¶

../_images/sphx_glr_slider_demo_thumb.png

Slider Demo¶

../_images/sphx_glr_span_selector_thumb.png

Span Selector¶

../_images/sphx_glr_textbox_thumb.png

Textbox¶

Download all examples in Python source code: gallery_python.zip
Download all examples in Jupyter notebooks: gallery_jupyter.zip

Keywords: matplotlib code example, codex, python plot, pyplot Gallery generated by Sphinx-Gallery

© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2018 The Matplotlib development team.
Last updated on Apr 08, 2020. Created using Sphinx 3.0.0. Doc version v3.2.1-13-g7a9bc5ebb-dirty.