matplotlib.artist.Artist.set_visible#

Artist.set_visible(b)[source]#

Set the artist's visibility.

Parameters:
bbool

Examples using matplotlib.artist.Artist.set_visible#

Timeline with lines, dates, and text

Timeline with lines, dates, and text

Broken axis

Broken axis

Spines

Spines

Named color sequences

Named color sequences

axis_direction demo

axis_direction demo

Simple axis pad

Simple axis pad

Multiple Axes animation

Multiple Axes animation

Keypress event

Keypress event

Legend picking

Legend picking

Pan/zoom events of overlapping axes

Pan/zoom events of overlapping axes

Stock prices over 32 years

Stock prices over 32 years

Arranging multiple Axes in a Figure

Arranging multiple Axes in a Figure

Tight layout guide

Tight layout guide