BaseFrame#

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

Bases: 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]#
get_color()[source]#
get_linewidth()[source]#
sample(n_samples)[source]#
set_color(color)[source]#

Sets the color of the frame.

Parameters:
colorstr

The color of the frame.

set_linewidth(linewidth)[source]#

Sets the linewidth of the frame.

Parameters:
linewidthfloat

The linewidth of the frame in points.

update_spines()[source]#