BaseFrame

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

Bases: collections.OrderedDict

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

Attributes Summary

origin
patch
transform

Methods Summary

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

Attributes Documentation

origin
patch
transform

Methods Documentation

draw(self, renderer)[source]
get_color(self)[source]
get_linewidth(self)[source]
sample(self, n_samples)[source]
set_color(self, color)[source]

Sets the color of the frame.

Parameters:
color : string

The color of the frame.

set_linewidth(self, linewidth)[source]

Sets the linewidth of the frame.

Parameters:
linewidth : float

The linewidth of the frame in points.

update_spines(self)[source]