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. insetaxes (bounds,, transform None, zorder 5, kwargs) source Add a child inset Axes to this existing 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`. And the instances of Axes supports callbacks through a callbacks attribute. The Axes Class contains most of the figure elements: Axis, Tick, Line2D, Text, Polygon, etc., and sets the coordinate system. If 'carrington', the ``observer`` keyword argument must be specified. Matplotlib is a library in Python and it is numerical mathematical extension for NumPy library. Here is how the ax.transData instance is defined in the basic separable axis Axes class: self. 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. Scalings 'med', 'med-small', and 'med-large' areĪdded by proplot while the rest are native matplotlib sizes. This can also be a string indicating some scaling relative to Size, fontsize ( unit-spec or str, optional) – The font size. Matplotlib is a library in Python and it is numerical mathematical extension for NumPy library. Matplotlib falls back to the system default if not found. For backward compatibility, numeric values are accepted as well. Valid locations are 'upper left', 'upper center', 'upper right', 'center left', 'center', 'center right', 'lower left', 'lower center, 'lower right'. Name, fontname, family, fontfamily ( str, optional) – The font typeface name (e.g., 'Fira Math') or font family name (e.g., The transformation object for the coordinate system in use, i.e.,. Default is 0.5.īboxpad ( float, optional) – The padding for the bounding box. Default is 'round'.īboxalpha ( float, optional) – The alpha for the bounding box. Default is 'w'.īboxstyle ( boxstyle, optional) – The style of the bounding box. Transform (, optional) – The line join styleībox ( bool, optional) – Whether to draw a bounding box around text.īboxcolor ( color-spec, optional) – The color of the text bounding box. Python tdata - 4 examples found.These are the top rated real world Python examples of extracted from open source projects. S, text ( str) – The string for the text. If only two are provided this automatically Furthermore, Transdata owns the America Latinas largest self-propelled axes fleet to perform jobs like this, which has a high complexity degree due to the cargo characteristic. X, y, ( float) – The coordinates for the text. text ( * args, border = False, bbox = False, bordercolor = 'w', borderwidth = 2, borderinvert = False, borderstyle = 'miter', bboxcolor = 'w', bboxstyle = 'round', bboxalpha = 0.5, bboxpad = None, ** kwargs ) ¶
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |