BaseFrame

class astropy.visualization.wcsaxes.frame.BaseFrame(parent_axes, transform, path=None)[source] [edit on github]

Bases: collections.OrderedDict

Base class for frames, which are collections of Spine instances.

Attributes Summary

origin
patch
transform

Methods Summary

draw(renderer)
get_color()
get_linewidth()
sample(n_samples)
set_color(color) Sets the color of the frame.
set_linewidth(linewidth) Sets the linewidth of the frame.
update_spines()

Attributes Documentation

origin
patch
transform

Methods Documentation

draw(renderer)[source] [edit on github]
get_color()[source] [edit on github]
get_linewidth()[source] [edit on github]
sample(n_samples)[source] [edit on github]
set_color(color)[source] [edit on github]

Sets the color of the frame.

Parameters:
color : string

The color of the frame.

set_linewidth(linewidth)[source] [edit on github]

Sets the linewidth of the frame.

Parameters:
linewidth : float

The linewidth of the frame in points.

update_spines()[source] [edit on github]