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
colorstr

The color of the frame.

set_linewidth(self, linewidth)[source]

Sets the linewidth of the frame.

Parameters
linewidthfloat

The linewidth of the frame in points.

abstract update_spines(self)[source]