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

Click on any image to see full size image and source code


  • Gallery
  • api

    artist_demo barchart_demo bbox_intersect clippath_demo collections_demo color_cycle colorbar_only compound_path custom_projection_example custom_scale_example date_demo date_index_formatter date_index_formatter demo_affine_image donut_demo engineering_formatter fahrenheit_celsius_scales hinton_demo histogram_demo histogram_path_demo image_zcoord joinstyle legend_demo line_with_text logo2 mathtext_asarray patch_collection path_patch_demo quad_bezier radar_chart sankey_demo_basics sankey_demo_basics sankey_demo_basics sankey_demo_links sankey_demo_old sankey_demo_rankine scatter_piecharts span_regions two_scales unicode_minus watermark_image watermark_text

    pylab_examples

    accented_text agg_buffer_to_array agg_buffer_to_array alignment_test anchored_artists animation_demo annotation_demo2 annotation_demo2 annotation_demo3 annotation_demo annotation_demo annotation_demo anscombe arctest arrow_demo arrow_simple_demo aspect_loglog axes_demo axes_props axes_zoom_effect axhspan_demo axis_equal_demo bar_stacked barb_demo barb_demo barchart_demo barchart_demo2 barcode_demo barh_demo barh_demo boxplot_demo2 boxplot_demo3 boxplot_demo boxplot_demo boxplot_demo boxplot_demo boxplot_demo boxplot_demo boxplot_demo break broken_axis broken_barh centered_ticklabels clippedline cohere_demo color_by_yvalue color_demo colorbar_tick_labelling_demo colorbar_tick_labelling_demo contour_demo contour_demo contour_demo contour_demo contour_demo contour_demo contour_image contour_label_demo contour_label_demo contour_label_demo contourf_demo contourf_demo contourf_demo contourf_hatching contourf_hatching contourf_log coords_demo coords_report csd_demo custom_cmap custom_figure_class custom_ticker1 customize_rc dannys_example dash_control dashpointlabel date_demo1 date_demo2 date_demo_convert date_demo_rrule date_index_formatter demo_agg_filter demo_annotation_box demo_bboximage demo_ribbon_box demo_text_path demo_text_rotation_mode demo_tight_layout demo_tight_layout demo_tight_layout demo_tight_layout demo_tight_layout demo_tight_layout demo_tight_layout demo_tight_layout dolphin ellipse_collection ellipse_demo ellipse_rotated equal_aspect_ratio errorbar_demo errorbar_demo errorbar_limits errorbar_limits errorbar_subsample fancyarrow_demo fancybox_demo2 fancybox_demo fancytextbox_demo figimage_demo figlegend_demo figure_title fill_between_demo fill_between_demo fill_between_demo fill_betweenx_demo fill_betweenx_demo fill_demo fill_demo2 fill_spiral filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo filledmarker_demo finance_demo finance_work2 findobj_demo fonts_demo fonts_demo_kw ganged_plots geo_demo gradient_bar griddata_demo hatch_demo hexbin_demo hexbin_demo2 hist2d_demo hist2d_log_demo hist_colormapped histogram_demo histogram_demo_extended histogram_demo_extended histogram_demo_extended histogram_demo_extended histogram_demo_extended histogram_demo_extended histogram_demo_extended histogram_percent_demo hline_demo image_clip_path image_demo image_demo2 image_demo3 image_interp image_interp image_interp image_masked image_nonuniform image_origin image_slices_viewer integral_demo interp_demo invert_axes layer_images legend_auto legend_auto legend_auto legend_auto legend_auto legend_auto legend_auto legend_auto legend_auto legend_auto legend_demo legend_demo2 legend_demo3 legend_demo4 legend_demo_custom_handler legend_scatter legend_translucent line_collection line_collection2 line_styles load_converter loadrec log_bar log_demo log_test logo major_minor_demo1 major_minor_demo2 manual_axis marker_path masked_demo mathtext_demo matshow matshow matshow mri_demo mri_with_eeg multi_image multicolored_line multicolored_line multiline multiple_figs_demo multiple_figs_demo multiple_yaxis_with_spines nan_test newscalarformatter_demo newscalarformatter_demo newscalarformatter_demo newscalarformatter_demo patheffect_demo pcolor_demo pcolor_demo2 pcolor_log pcolor_small pie_demo pie_demo2 plotfile_demo plotfile_demo plotfile_demo plotfile_demo plotfile_demo plotfile_demo plotfile_demo plotfile_demo polar_bar polar_demo polar_legend polar_scatter poormans_contour psd_demo psd_demo2 psd_demo3 psd_demo_complex pythonic_matplotlib quadmesh_demo quiver_demo quiver_demo quiver_demo quiver_demo quiver_demo quiver_demo scatter_custom_symbol scatter_demo scatter_demo2 scatter_masked scatter_star_poly scatter_symbol set_and_get shading_example shared_axis_demo show_colormaps simple_plot specgram_demo spine_placement_demo spine_placement_demo spine_placement_demo spine_placement_demo spy_demos stackplot_demo stackplot_demo stem_plot step_demo stix_fonts_demo stock_demo streamplot_demo streamplot_demo streamplot_with_mask subplot_demo subplot_toolbar subplot_toolbar subplots_adjust subplots_demo subplots_demo subplots_demo subplots_demo subplots_demo subplots_demo subplots_demo symlog_demo table_demo tex_demo tex_unicode_demo text_handles text_rotation text_rotation_relative_to_line text_themes to_numeric toggle_images transoffset tricontour_demo tricontour_demo tricontour_vs_griddata tripcolor_demo tripcolor_demo tripcolor_demo triplot_demo triplot_demo unicode_demo usetex_baseline_test usetex_demo usetex_fonteffects vertical_ticklabels vline_demo xcorr_demo zorder_demo zorder_demo

    mplot3d

    2dcollections3d_demo bars3d_demo contour3d_demo contour3d_demo2 contour3d_demo3 contourf3d_demo contourf3d_demo2 hist3d_demo lines3d_demo lorenz_attractor mixed_subplots_demo offset_demo pathpatch3d_demo polys3d_demo rotate_axes3d_demo scatter3d_demo subplot3d_demo surface3d_demo surface3d_demo2 surface3d_demo3 surface3d_radial_demo text3d_demo trisurf3d_demo wire3d_animation_demo wire3d_demo

    widgets

    cursor slider_demo

    axes_grid

    demo_axes_divider demo_axes_grid demo_axes_grid2 demo_axes_hbox_divider demo_axes_rgb demo_axes_rgb demo_axisline_style demo_colorbar_with_inset_locator demo_curvelinear_grid demo_curvelinear_grid2 demo_edge_colorbar demo_floating_axes demo_floating_axis demo_parasite_axes2 inset_locator_demo inset_locator_demo2 make_room_for_ylabel_using_axesgrid make_room_for_ylabel_using_axesgrid make_room_for_ylabel_using_axesgrid parasite_simple2 simple_anchored_artists simple_axesgrid simple_axesgrid2 simple_axisline4