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

Named color sequences

Named color sequences

axis_direction demo

axis_direction demo

Simple axis pad

Simple axis pad

Pan/zoom events of overlapping axes

Pan/zoom events of overlapping axes

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

Tight layout guide

Tight layout guide

Arranging multiple Axes in a Figure

Arranging multiple Axes in a Figure