Version 3.2.1
matplotlib
  • Installation
  • Documentation
  • Examples
  • Tutorials
  • Contributing

Navigation

  • index
  • modules |
  • next |
  • previous |
  • home| 
  • contents »
  • API Overview »
  • matplotlib.axes »

Table of Contents

  • matplotlib.axes.Axes.add_patch
    • Examples using matplotlib.axes.Axes.add_patch

Related Topics

  • Documentation overview
    • API Overview
      • matplotlib.axes
        • Previous: matplotlib.axes.Axes.add_line
        • Next: matplotlib.axes.Axes.add_table
Show Page Source

matplotlib.axes.Axes.add_patch¶

Axes.add_patch(p)¶

Add a Patch to the axes' patches; return the patch.

Examples using matplotlib.axes.Axes.add_patch¶

../../_images/sphx_glr_image_demo_thumb.png

Image Demo

../../_images/sphx_glr_axes_margins_thumb.png

Controlling view limits using margins and sticky_edges

../../_images/sphx_glr_axes_zoom_effect_thumb.png

Axes Zoom Effect

../../_images/sphx_glr_boxplot_demo_thumb.png

Boxplots

../../_images/sphx_glr_confidence_ellipse_thumb.png

Plot a confidence ellipse of a two-dimensional dataset

../../_images/sphx_glr_annotation_demo_thumb.png

Annotating Plots

../../_images/sphx_glr_fancyarrow_demo_thumb.png

Fancyarrow Demo

../../_images/sphx_glr_text_alignment_thumb.png

Precise text layout

../../_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_hatch_demo_thumb.png

Hatch Demo

../../_images/sphx_glr_path_patch_thumb.png

PathPatch object

../../_images/sphx_glr_quad_bezier_thumb.png

Bezier Curve

../../_images/sphx_glr_ggplot_thumb.png

ggplot style sheet

../../_images/sphx_glr_inset_locator_demo_thumb.png

Inset Locator Demo

../../_images/sphx_glr_firefox_thumb.png

Firefox

../../_images/sphx_glr_integral_thumb.png

Integral as the area under a curve

../../_images/sphx_glr_animated_histogram_thumb.png

Animated histogram

../../_images/sphx_glr_looking_glass_thumb.png

Looking Glass

../../_images/sphx_glr_path_editor_thumb.png

Path Editor

../../_images/sphx_glr_poly_editor_thumb.png

Poly Editor

../../_images/sphx_glr_viewlims_thumb.png

Viewlims

../../_images/sphx_glr_bbox_intersect_thumb.png

Changing colors of lines intersecting a box

../../_images/sphx_glr_histogram_path_thumb.png

Building histograms using Rectangles and PolyCollections

../../_images/sphx_glr_svg_filter_pie_thumb.png

SVG Filter Pie

../../_images/sphx_glr_artist_tests_thumb.png

Artist tests

../../_images/sphx_glr_ellipse_with_units_thumb.png

Ellipse With Units

../../_images/sphx_glr_path_tutorial_thumb.png

Path Tutorial

../../_images/sphx_glr_transforms_tutorial_thumb.png

Transformations Tutorial

../../_images/sphx_glr_colors_thumb.png

Specifying Colors

../../_images/sphx_glr_text_props_thumb.png

Text properties and layout

© Copyright 2020 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2018 The Matplotlib development team.
Last updated on Mar 21, 2020. Created using Sphinx 1.8.5. Doc version 3.2.1.