![]() ![]() Tick1line a Line2D instance tick2line a Line2D instance gridline a Line2D instance label1 a Text instance label2 a Text instance gridOn a boolean which determines whether to draw the tickline tick1On a boolean which determines whether to draw the 1st tickline tick2On a boolean which determines whether to draw the 2nd tickline label1On a boolean which determines whether to draw tick label label2On a boolean which determines whether to draw tick labelībox is the Bound2D bounding box in display coords of the Axes Zoom in/out on axis if direction is >0 zoom in, else zoom out #Axes transdata update#Introspect data for units converter and update the Set the locations of the tick marks from sequence ticks Set appearance parameters for ticks and ticklabels. Set the depth of the axis used by the picker Set the default limits for the axis data and view interval if they Pan numsteps (can be positive or negative) Iterate through all of the major and minor ticks. Set the axis grid on or off b is a boolean. Return the Interval instance for this axis view limits Return a bounding box that encloses the axis. Get the tick locations in data coordinates as a numpy array Return the tick lines as a list of Line2D instances Get the x tick labels as a list of Text instances. Get the extents of the tick labels on either side of the axes. Return the estimated number of ticks that can fit on the axis. Return the depth of the axis used by the picker Return the axis offsetText as a Text instance Get the minor tick locations in data coordinates as a numpy array Return the minor tick lines as a list of Line2D instances Return a list of Text instances for the minor ticklabels Get the minor tick instances grow as necessary Get the major tick locations in data coordinates as a numpy array Return the major tick lines as a list of Line2D instances Return a list of Text instances for the major ticklabels Return the label position (top or bottom) Return the grid lines as a list of Line2D instance Return the Interval instance for this axis data limits Sets up x-axis ticks and labels that treat the x data as dates. set_ticks ( spacing = lat_space, color = tick_color ) overlay. set_ticks ( spacing = lon_space, color = tick_color ) lat. update ( kwargs ) # Don't plot white ticks by default (only if explicitly asked) tick_color = grid_kw if 'color' in kwargs else 'k' lon. get_coords_overlay ( HeliographicCarrington ( obstime = obstime, observer = observer, rsun = rsun )) else : raise ValueError ( f "system must be 'stonyhurst' or 'carrington' (got ' grid_kw. get_coords_overlay ( HeliographicStonyhurst ( obstime = obstime, rsun = rsun )) elif system = 'carrington' : overlay = axes. size = 2 : lon_space, lat_space = grid_spacing else : raise ValueError ( "grid_spacing must be a Quantity of length one or two." ) if system = 'stonyhurst' : overlay = axes. size = 1 : lon_space = lat_space = grid_spacing elif grid_spacing. """ # Unpack spacing if isinstance ( grid_spacing, u. kwargs : Additional keyword arguments are passed to :meth:`.grid`. If 'carrington', the ``observer`` keyword argument must be specified. system : str Coordinate system for the grid. observer : `~圜oord` The ``observer`` to use for the grid coordinate frame. rsun : `~` The ``rsun`` to use for the grid coordinate frame. ![]() obstime : `~` The ``obstime`` to use for the grid coordinate frame. annotate : `bool` Passing `False` disables the axes labels and the ticks on the top and right axes. ![]() grid_spacing: `~` Spacing for longitude and latitude grid in degrees. Parameters - axes : `~` The `~` object to create the overlay on. deg, annotate = True, obstime = None, rsun = None, observer = None, system = 'stonyhurst', ** kwargs ): """ Create a heliographic overlay using `~`. quantity_input def wcsaxes_heliographic_overlay ( axes, grid_spacing : u. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |