matplotlib.artist.Artist.set_visible#

Artist.set_visible(b)[source]#

Set the artist's visibility.

Parameters:
bbool

Examples using matplotlib.artist.Artist.set_visible#

Creating a timeline with lines, dates, and text

Creating a timeline with lines, dates, and text

Broken Axis

Broken Axis

axis_direction demo

axis_direction demo

Simple Axis Pad

Simple Axis Pad

Stock prices over 32 years

Stock prices over 32 years

Multiple axes animation

Multiple axes animation

Keypress event

Keypress event

Legend picking

Legend picking

Spines

Spines

Nested GridSpecs

Nested GridSpecs

Tight layout guide

Tight layout guide

Arranging multiple Axes in a Figure

Arranging multiple Axes in a Figure