matplotlib.axes.Axes.add_patch#

Axes.add_patch(p)[source]#

Add a Patch to the Axes; return the patch.

Examples using matplotlib.axes.Axes.add_patch#

Curve with error band

Curve with error band

Curve with error band
Image Demo

Image Demo

Image Demo
Axes box aspect

Axes box aspect

Axes box aspect
Controlling view limits using margins and sticky_edges

Controlling view limits using margins and sticky_edges

Controlling view limits using margins and sticky_edges
Boxplots

Boxplots

Boxplots
Plot a confidence ellipse of a two-dimensional dataset

Plot a confidence ellipse of a two-dimensional dataset

Plot a confidence ellipse of a two-dimensional dataset
Annotating Plots

Annotating Plots

Annotating Plots
Text alignment

Text alignment

Text alignment
Compound path

Compound path

Compound path
Dolphins

Dolphins

Dolphins
Mmh Donuts!!!

Mmh Donuts!!!

Mmh Donuts!!!
Drawing fancy boxes

Drawing fancy boxes

Drawing fancy boxes
Hatch style reference

Hatch style reference

Hatch style reference
PathPatch object

PathPatch object

PathPatch object
Bezier Curve

Bezier Curve

Bezier Curve
ggplot style sheet

ggplot style sheet

ggplot style sheet
Inset Locator Demo

Inset Locator Demo

Inset Locator Demo
Firefox

Firefox

Firefox
Integral as the area under a curve

Integral as the area under a curve

Integral as the area under a curve
Looking Glass

Looking Glass

Looking Glass
Path Editor

Path Editor

Path Editor
Poly Editor

Poly Editor

Poly Editor
Trifinder Event Demo

Trifinder Event Demo

Trifinder Event Demo
Viewlims

Viewlims

Viewlims
Changing colors of lines intersecting a box

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

Building histograms using Rectangles and PolyCollections
Packed-bubble chart

Packed-bubble chart

Packed-bubble chart
SVG Filter Pie

SVG Filter Pie

SVG Filter Pie
TickedStroke patheffect

TickedStroke patheffect

TickedStroke patheffect
Draw flat objects in 3D plot

Draw flat objects in 3D plot

Draw flat objects in 3D plot
Artist tests

Artist tests

Artist tests
Ellipse with units

Ellipse with units

Ellipse with units
Legend guide

Legend guide

Legend guide
Path Tutorial

Path Tutorial

Path Tutorial
Transformations Tutorial

Transformations Tutorial

Transformations Tutorial
Specifying Colors

Specifying Colors

Specifying Colors
Text properties and layout

Text properties and layout

Text properties and layout