matplotlib

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


  • Gallery
  • Lines, bars, and markers

    barh_demo fill_demo fill_demo_features line_demo_dash_control

    Shapes and collections

    artist_reference path_patch_demo scatter_demo

    Statistical plots

    errorbar_demo errorbar_demo_features histogram_demo_features

    Images, contours, and fields

    image_demo image_demo_clip_path pcolormesh_levels streamplot_demo_features streamplot_demo_features streamplot_demo_masking

    Pie and polar charts

    pie_demo_features polar_bar_demo polar_scatter_demo

    Color

    color_cycle_demo colormaps_reference colormaps_reference colormaps_reference colormaps_reference colormaps_reference

    Text, labels, and annotations

    text_demo_fontdict unicode_demo

    Ticks and spines

    spines_demo spines_demo_bounds spines_demo_dropped ticklabels_demo_rotation

    Subplots, axes, and figures

    subplot_demo

    Specialty plots

    hinton_demo

    Showcase

    integral_demo xkcd xkcd

    API

    barchart_demo bbox_intersect collections_demo 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 histogram_path_demo image_zcoord joinstyle legend_demo line_with_text logo2 mathtext_asarray patch_collection 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 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 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_limits errorbar_limits errorbar_subsample eventcollection_demo eventplot_demo 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_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_extended histogram_demo_extended histogram_demo_extended histogram_demo_extended histogram_demo_extended histogram_demo_extended histogram_demo_extended histogram_percent_demo image_clip_path image_demo image_demo2 image_interp image_interp image_interp image_masked image_nonuniform image_origin image_slices_viewer 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 mathtext_examples 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_log pcolor_small pie_demo2 plotfile_demo plotfile_demo plotfile_demo plotfile_demo plotfile_demo plotfile_demo plotfile_demo plotfile_demo polar_demo polar_legend 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_demo2 scatter_hist scatter_masked scatter_star_poly scatter_symbol set_and_get shading_example shared_axis_demo simple_plot specgram_demo spine_placement_demo spine_placement_demo spy_demos stackplot_demo2 stackplot_demo stackplot_demo stem_plot step_demo stix_fonts_demo stock_demo 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 titles_demo to_numeric toggle_images transoffset tricontour_demo tricontour_demo tricontour_smooth_delaunay tricontour_smooth_user tricontour_vs_griddata trigradient_demo triinterp_demo tripcolor_demo tripcolor_demo tripcolor_demo triplot_demo triplot_demo usetex_baseline_test usetex_demo usetex_fonteffects vline_hline_demo xcorr_demo zorder_demo zorder_demo

    mplot3d toolkit

    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 trisurf3d_demo2 trisurf3d_demo2 wire3d_animation_demo wire3d_demo

    axes_grid toolkit

    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 scatter_hist simple_anchored_artists simple_axesgrid simple_axesgrid2 simple_axisline4

    widgets

    cursor slider_demo