Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé
Module « matplotlib.axis »

Classe « Tick »

Informations générales

Héritage

builtins.object
    Artist
        Tick

Définition

class Tick(Artist):

help(Tick)

Abstract base class for the axis ticks, grid lines and labels.

Ticks mark a position on an Axis. They contain two lines as markers and
two labels; one each for the bottom and top positions (in case of an
`.XAxis`) or for the left and right positions (in case of a `.YAxis`).

Attributes
----------
tick1line : `~matplotlib.lines.Line2D`
    The left/bottom tick marker.
tick2line : `~matplotlib.lines.Line2D`
    The right/top tick marker.
gridline : `~matplotlib.lines.Line2D`
    The grid line associated with the label position.
label1 : `~matplotlib.text.Text`
    The left/bottom tick label.
label2 : `~matplotlib.text.Text`
    The right/top tick label.

Constructeur(s)

Signature du constructeur Description
__init__(self, axes, loc, *, size=None, width=None, color=None, tickdir=None, pad=None, labelsize=None, labelcolor=None, labelfontfamily=None, zorder=None, gridOn=None, tick1On=True, tick2On=True, label1On=True, label2On=False, major=True, labelrotation=0, grid_color=None, grid_linestyle=None, grid_linewidth=None, grid_alpha=None, **kwargs)

Liste des attributs statiques

Nom de l'attribut Valeur
zorder0

Liste des propriétés

Nom de la propriétéDescription
axesThe `~.axes.Axes` instance the artist resides in, or *None*. [extrait de axes.__doc__]
figureThe (Sub)Figure that the artist is on. For more control, use the `get_figure` method. [extrait de figure.__doc__]
mouseover
stale
sticky_edges

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
contains(self, mouseevent)
draw(self, renderer)
get_children(self)
get_loc(self) Return the tick location (data coords) as a scalar. [extrait de get_loc.__doc__]
get_pad(self) Get the value of the tick label pad in points. [extrait de get_pad.__doc__]
get_tick_padding(self) Get the length of the tick outside of the Axes. [extrait de get_tick_padding.__doc__]
get_tickdir(self)
get_view_interval(self)
set(self, *, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, mouseover=<UNSET>, pad=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>) Set multiple properties at once. [extrait de set.__doc__]
set_clip_path(self, path, transform=None)
set_pad(self, val)
set_url(self, url)
update_position(self, loc) Set the location of tick in data coords with scalar *loc*. [extrait de update_position.__doc__]

Méthodes héritées de la classe Artist

__getstate__, __init_subclass__, __subclasshook__, add_callback, convert_xunits, convert_yunits, findobj, format_cursor_data, get_agg_filter, get_alpha, get_animated, get_clip_box, get_clip_on, get_clip_path, get_cursor_data, get_figure, get_gid, get_in_layout, get_label, get_mouseover, get_path_effects, get_picker, get_rasterized, get_sketch_params, get_snap, get_tightbbox, get_transform, get_transformed_clip_path_and_affine, get_url, get_visible, get_window_extent, get_zorder, have_units, is_transform_set, pchanged, pick, pickable, properties, remove, remove_callback, set_agg_filter, set_alpha, set_animated, set_clip_box, set_clip_on, set_figure, set_gid, set_in_layout, set_label, set_mouseover, set_path_effects, set_picker, set_rasterized, set_sketch_params, set_snap, set_transform, set_visible, set_zorder, update, update_from

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __getstate__, __hash__, __init_subclass__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Vous êtes un professionnel et vous avez besoin d'une formation ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé