matplotlib

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


  • Gallery
  • Text, labels, and annotations

    rainbow_text
    rainbow_text
    text_demo_fontdict
    text_demo_fontdict
    unicode_demo
    unicode_demo

    Subplots, axes, and figures

    fahrenheit_celsius_scales
    fahrenheit_celsius_scales
    subplot_demo
    subplot_demo

    pylab examples

    accented_text
    accented_text
    agg_buffer_to_array
    agg_buffer_to_array
    agg_buffer_to_array
    agg_buffer_to_array
    alignment_test
    alignment_test
    anchored_artists
    anchored_artists
    animation_demo
    animation_demo
    annotation_demo2
    annotation_demo2
    annotation_demo2
    annotation_demo2
    annotation_demo3
    annotation_demo3
    annotation_demo
    annotation_demo
    annotation_demo
    annotation_demo
    annotation_demo
    annotation_demo
    anscombe
    anscombe
    arctest
    arctest
    arrow_demo
    arrow_demo
    arrow_simple_demo
    arrow_simple_demo
    aspect_loglog
    aspect_loglog
    axes_demo
    axes_demo
    axes_props
    axes_props
    axes_zoom_effect
    axes_zoom_effect
    axhspan_demo
    axhspan_demo
    axis_equal_demo
    axis_equal_demo
    bar_stacked
    bar_stacked
    barb_demo
    barb_demo
    barb_demo
    barb_demo
    barchart_demo
    barchart_demo
    barchart_demo2
    barchart_demo2
    barcode_demo
    barcode_demo
    boxplot_demo2
    boxplot_demo2
    boxplot_demo3
    boxplot_demo3
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    boxplot_demo
    break
    break
    broken_axis
    broken_axis
    broken_barh
    broken_barh
    centered_ticklabels
    centered_ticklabels
    clippedline
    clippedline
    cohere_demo
    cohere_demo
    color_by_yvalue
    color_by_yvalue
    color_demo
    color_demo
    colorbar_tick_labelling_demo
    colorbar_tick_labelling_demo
    colorbar_tick_labelling_demo
    colorbar_tick_labelling_demo
    contour_demo
    contour_demo
    contour_demo
    contour_demo
    contour_demo
    contour_demo
    contour_demo
    contour_demo
    contour_demo
    contour_demo
    contour_demo
    contour_demo
    contour_image
    contour_image
    contour_label_demo
    contour_label_demo
    contour_label_demo
    contour_label_demo
    contour_label_demo
    contour_label_demo
    contourf_demo
    contourf_demo
    contourf_demo
    contourf_demo
    contourf_demo
    contourf_demo
    contourf_hatching
    contourf_hatching
    contourf_hatching
    contourf_hatching
    contourf_log
    contourf_log
    coords_demo
    coords_demo
    coords_report
    coords_report
    csd_demo
    csd_demo
    custom_cmap
    custom_cmap
    custom_figure_class
    custom_figure_class
    custom_ticker1
    custom_ticker1
    customize_rc
    customize_rc
    dashpointlabel
    dashpointlabel
    date_demo1
    date_demo1
    date_demo2
    date_demo2
    date_demo_convert
    date_demo_convert
    date_demo_rrule
    date_demo_rrule
    date_index_formatter
    date_index_formatter
    demo_agg_filter
    demo_agg_filter
    demo_annotation_box
    demo_annotation_box
    demo_bboximage
    demo_bboximage
    demo_ribbon_box
    demo_ribbon_box
    demo_text_path
    demo_text_path
    demo_text_rotation_mode
    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
    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
    dolphin
    ellipse_collection
    ellipse_collection
    ellipse_demo
    ellipse_demo
    ellipse_rotated
    ellipse_rotated
    equal_aspect_ratio
    equal_aspect_ratio
    errorbar_limits
    errorbar_limits
    errorbar_limits
    errorbar_limits
    errorbar_subsample
    errorbar_subsample
    eventcollection_demo
    eventcollection_demo
    eventplot_demo
    eventplot_demo
    fancyarrow_demo
    fancyarrow_demo
    fancybox_demo2
    fancybox_demo2
    fancybox_demo
    fancybox_demo
    fancytextbox_demo
    fancytextbox_demo
    figimage_demo
    figimage_demo
    figlegend_demo
    figlegend_demo
    figure_title
    figure_title
    fill_between_demo
    fill_between_demo
    fill_between_demo
    fill_between_demo
    fill_between_demo
    fill_between_demo
    fill_betweenx_demo
    fill_betweenx_demo
    fill_betweenx_demo
    fill_betweenx_demo
    fill_spiral
    fill_spiral
    finance_demo
    finance_demo
    finance_work2
    finance_work2
    findobj_demo
    findobj_demo
    fonts_demo
    fonts_demo
    fonts_demo_kw
    fonts_demo_kw
    ganged_plots
    ganged_plots
    geo_demo
    geo_demo
    gradient_bar
    gradient_bar
    griddata_demo
    griddata_demo
    hatch_demo
    hatch_demo
    hexbin_demo
    hexbin_demo
    hexbin_demo2
    hexbin_demo2
    hist2d_demo
    hist2d_demo
    hist2d_log_demo
    hist2d_log_demo
    hist_colormapped
    hist_colormapped
    histogram_percent_demo
    histogram_percent_demo
    image_clip_path
    image_clip_path
    image_demo
    image_demo
    image_demo2
    image_demo2
    image_interp
    image_interp
    image_interp
    image_interp
    image_interp
    image_interp
    image_masked
    image_masked
    image_nonuniform
    image_nonuniform
    image_origin
    image_origin
    image_slices_viewer
    image_slices_viewer
    interp_demo
    interp_demo
    invert_axes
    invert_axes
    layer_images
    layer_images
    legend_demo2
    legend_demo2
    legend_demo3
    legend_demo3
    legend_demo4
    legend_demo4
    line_collection
    line_collection
    line_collection2
    line_collection2
    load_converter
    load_converter
    loadrec
    loadrec
    log_bar
    log_bar
    log_demo
    log_demo
    log_test
    log_test
    logo
    logo
    major_minor_demo1
    major_minor_demo1
    major_minor_demo2
    major_minor_demo2
    manual_axis
    manual_axis
    marker_path
    marker_path
    markevery_demo
    markevery_demo
    markevery_demo
    markevery_demo
    markevery_demo
    markevery_demo
    markevery_demo
    markevery_demo
    masked_demo
    masked_demo
    mathtext_demo
    mathtext_demo
    mathtext_examples
    mathtext_examples
    matshow
    matshow
    matshow
    matshow
    mri_demo
    mri_demo
    mri_with_eeg
    mri_with_eeg
    multi_image
    multi_image
    multicolored_line
    multicolored_line
    multicolored_line
    multicolored_line
    multiline
    multiline
    multiple_figs_demo
    multiple_figs_demo
    multiple_figs_demo
    multiple_figs_demo
    multiple_yaxis_with_spines
    multiple_yaxis_with_spines
    nan_test
    nan_test
    newscalarformatter_demo
    newscalarformatter_demo
    newscalarformatter_demo
    newscalarformatter_demo
    newscalarformatter_demo
    newscalarformatter_demo
    newscalarformatter_demo
    newscalarformatter_demo
    patheffect_demo
    patheffect_demo
    pcolor_demo
    pcolor_demo
    pcolor_log
    pcolor_log
    pcolor_small
    pcolor_small
    pie_demo2
    pie_demo2
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    plotfile_demo
    polar_demo
    polar_demo
    polar_legend
    polar_legend
    psd_demo
    psd_demo
    psd_demo2
    psd_demo2
    psd_demo3
    psd_demo3
    psd_demo_complex
    psd_demo_complex
    pythonic_matplotlib
    pythonic_matplotlib
    quadmesh_demo
    quadmesh_demo
    quiver_demo
    quiver_demo
    quiver_demo
    quiver_demo
    quiver_demo
    quiver_demo
    quiver_demo
    quiver_demo
    quiver_demo
    quiver_demo
    quiver_demo
    quiver_demo
    scatter_custom_symbol
    scatter_custom_symbol
    scatter_demo2
    scatter_demo2
    scatter_hist
    scatter_hist
    scatter_masked
    scatter_masked
    scatter_star_poly
    scatter_star_poly
    scatter_symbol
    scatter_symbol
    set_and_get
    set_and_get
    shading_example
    shading_example
    shading_example
    shading_example
    shared_axis_demo
    shared_axis_demo
    simple_plot
    simple_plot
    specgram_demo
    specgram_demo
    spectrum_demo
    spectrum_demo
    spine_placement_demo
    spine_placement_demo
    spine_placement_demo
    spine_placement_demo
    spy_demos
    spy_demos
    stackplot_demo2
    stackplot_demo2
    stackplot_demo
    stackplot_demo
    stackplot_demo
    stackplot_demo
    stem_plot
    stem_plot
    step_demo
    step_demo
    stix_fonts_demo
    stix_fonts_demo
    stock_demo
    stock_demo
    subplot_demo
    subplot_demo
    subplot_toolbar
    subplot_toolbar
    subplot_toolbar
    subplot_toolbar
    subplots_adjust
    subplots_adjust
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    subplots_demo
    symlog_demo
    symlog_demo
    table_demo
    table_demo
    tex_demo
    tex_demo
    tex_unicode_demo
    tex_unicode_demo
    text_handles
    text_handles
    text_rotation
    text_rotation
    text_rotation_relative_to_line
    text_rotation_relative_to_line
    titles_demo
    titles_demo
    to_numeric
    to_numeric
    toggle_images
    toggle_images
    transoffset
    transoffset
    tricontour_demo
    tricontour_demo
    tricontour_demo
    tricontour_demo
    tricontour_smooth_delaunay
    tricontour_smooth_delaunay
    tricontour_smooth_user
    tricontour_smooth_user
    tricontour_vs_griddata
    tricontour_vs_griddata
    trigradient_demo
    trigradient_demo
    triinterp_demo
    triinterp_demo
    tripcolor_demo
    tripcolor_demo
    tripcolor_demo
    tripcolor_demo
    tripcolor_demo
    tripcolor_demo
    triplot_demo
    triplot_demo
    triplot_demo
    triplot_demo
    usetex_baseline_test
    usetex_baseline_test
    usetex_demo
    usetex_demo
    usetex_fonteffects
    usetex_fonteffects
    vline_hline_demo
    vline_hline_demo
    xcorr_demo
    xcorr_demo
    zorder_demo
    zorder_demo
    zorder_demo
    zorder_demo