matplotlib.artist.Artist.set_visible#

Artist.set_visible(b)[source]#

Set the artist's visibility.

Parameters:
bbool

Examples using matplotlib.artist.Artist.set_visible#

Multiple Axes animation

Multiple Axes animation

axis_direction demo

axis_direction demo

Simple axis pad

Simple axis pad

Named color sequences

Named color sequences

Keypress event

Keypress event

Legend picking

Legend picking

Timeline with lines, dates, and text

Timeline with lines, dates, and text

Pan/zoom events of overlapping axes

Pan/zoom events of overlapping axes

Stock prices over 32 years

Stock prices over 32 years

Spines

Spines

Broken axis

Broken axis

Nested GridSpecs

Nested GridSpecs

Arranging multiple Axes in a Figure

Arranging multiple Axes in a Figure

Tight layout guide

Tight layout guide