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

Navigation

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

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(self, p)¶

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

Examples using matplotlib.axes.Axes.add_patch¶

Curve with error band

Curve with error band¶

Image Demo

Image Demo¶

Axes box aspect

Axes box aspect¶

Controlling view limits using margins and sticky_edges

Controlling view limits using margins and sticky_edges¶

Axes Zoom Effect

Axes Zoom Effect¶

Boxplots

Boxplots¶

Plot a confidence ellipse of a two-dimensional dataset

Plot a confidence ellipse of a two-dimensional dataset¶

Annotating Plots

Annotating Plots¶

Fancyarrow Demo

Fancyarrow Demo¶

Precise text layout

Precise text layout¶

Compound path

Compound path¶

Dolphins

Dolphins¶

Mmh Donuts!!!

Mmh Donuts!!!¶

Drawing fancy boxes

Drawing fancy boxes¶

Hatch Demo

Hatch Demo¶

PathPatch object

PathPatch object¶

Bezier Curve

Bezier Curve¶

ggplot style sheet

ggplot style sheet¶

Inset Locator Demo

Inset Locator Demo¶

Firefox

Firefox¶

Integral as the area under a curve

Integral as the area under a curve¶

Animated histogram

Animated histogram¶

Looking Glass

Looking Glass¶

Path Editor

Path Editor¶

Poly Editor

Poly Editor¶

Viewlims

Viewlims¶

Changing colors of lines intersecting a box

Changing colors of lines intersecting a box¶

Building histograms using Rectangles and PolyCollections

Building histograms using Rectangles and PolyCollections¶

SVG Filter Pie

SVG Filter Pie¶

Draw flat objects in 3D plot

Draw flat objects in 3D plot¶

Artist tests

Artist tests¶

Ellipse With Units

Ellipse With Units¶

Artist tutorial

Artist tutorial¶

Path Tutorial

Path Tutorial¶

Transformations Tutorial

Transformations Tutorial¶

Specifying Colors

Specifying Colors¶

Text properties and layout

Text properties and layout¶

© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2020 The Matplotlib development team.
Last updated on Nov 12, 2020. Created using Sphinx 3.1.1. Doc version v3.3.3-2-g447bdbbf58.