Vous êtes un professionnel et vous avez besoin d'une formation ?
Programmation Python
Les fondamentaux
Voir le programme détaillé
Module « matplotlib.pyplot »
Classe « AxLine »
Informations générales
Héritage
builtins.object
Artist
Line2D
AxLine
Définition
class AxLine(Line2D):
help(AxLine)
A helper class that implements `~.Axes.axline`, by recomputing the artist
transform at draw time.
Constructeur(s)
Liste des attributs statiques
drawStyleKeys | ['default', 'steps-mid', 'steps-pre', 'steps-post', 'steps'] |
drawStyles | {'default': '_draw_lines', 'steps-mid': '_draw_steps_mid', 'steps-pre': '_draw_steps_pre', 'steps-post': '_draw_steps_post', 'steps': '_draw_steps_pre'} |
filled_markers | ('.', 'o', 'v', '^', '<', '>', '8', 's', 'p', '*', 'h', 'H', 'D', 'd', 'P', 'X') |
fillStyles | ('full', 'left', 'right', 'bottom', 'top', 'none') |
lineStyles | {'-': '_draw_solid', '--': '_draw_dashed', '-.': '_draw_dash_dot', ':': '_draw_dotted', 'None': '_draw_nothing', ' ': '_draw_nothing', '': '_draw_nothing'} |
markers | {'.': 'point', ',': 'pixel', 'o': 'circle', 'v': 'triangle_down', '^': 'triangle_up', '<': 'triangle_left', '>': 'triangle_right', '1': 'tri_down', '2': 'tri_up', '3': 'tri_left', '4': 'tri_right', '8': 'octagon', 's': 'square', 'p': 'pentagon', '*': 'star', 'h': 'hexagon1', 'H': 'hexagon2', '+': 'plus', 'x': 'x', 'D': 'diamond', 'd': 'thin_diamond', '|': 'vline', '_': 'hline', 'P': 'plus_filled', 'X': 'x_filled', 0: 'tickleft', 1: 'tickright', 2: 'tickup', 3: 'tickdown', 4: 'caretleft', 5: 'caretright', 6: 'caretup', 7: 'caretdown', 8: 'caretleftbase', 9: 'caretrightbase', 10: 'caretupbase', 11: 'caretdownbase', 'None': 'nothing', 'none': 'nothing', ' ': 'nothing', '': 'nothing'} |
zorder | 2 |
Liste des propriétés
axes | The `~.axes.Axes` instance the artist resides in, or *None*. [extrait de axes.__doc__] |
figure | The (Sub)Figure that the artist is on. For more control, use the `get_figure` method. [extrait de figure.__doc__] |
mouseover | |
pickradius | |
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
draw(self, renderer) |
|
get_slope(self) |
Return the *slope* value of the line. [extrait de get_slope.__doc__] |
get_transform(self) |
|
get_xy1(self) |
Return the *xy1* value of the line. [extrait de get_xy1.__doc__] |
get_xy2(self) |
Return the *xy2* value of the line. [extrait de get_xy2.__doc__] |
set(self, *, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, dash_capstyle=<UNSET>, dash_joinstyle=<UNSET>, dashes=<UNSET>, data=<UNSET>, drawstyle=<UNSET>, fillstyle=<UNSET>, gapcolor=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, linestyle=<UNSET>, linewidth=<UNSET>, marker=<UNSET>, markeredgecolor=<UNSET>, markeredgewidth=<UNSET>, markerfacecolor=<UNSET>, markerfacecoloralt=<UNSET>, markersize=<UNSET>, markevery=<UNSET>, mouseover=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, pickradius=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, slope=<UNSET>, snap=<UNSET>, solid_capstyle=<UNSET>, solid_joinstyle=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, xdata=<UNSET>, xy1=<UNSET>, xy2=<UNSET>, ydata=<UNSET>, zorder=<UNSET>) |
Set multiple properties at once. [extrait de set.__doc__] |
set_slope(self, slope) |
|
set_xy1(self, *args, **kwargs) |
|
set_xy2(self, *args, **kwargs) |
|
Méthodes héritées de la classe Line2D
__str__, __subclasshook__, contains, get_aa, get_antialiased, get_bbox, get_c, get_color, get_dash_capstyle, get_dash_joinstyle, get_data, get_drawstyle, get_ds, get_fillstyle, get_gapcolor, get_linestyle, get_linewidth, get_ls, get_lw, get_marker, get_markeredgecolor, get_markeredgewidth, get_markerfacecolor, get_markerfacecoloralt, get_markersize, get_markevery, get_mec, get_mew, get_mfc, get_mfcalt, get_ms, get_path, get_pickradius, get_solid_capstyle, get_solid_joinstyle, get_window_extent, get_xdata, get_xydata, get_ydata, is_dashed, recache, recache_always, set_aa, set_antialiased, set_c, set_color, set_dash_capstyle, set_dash_joinstyle, set_dashes, set_data, set_drawstyle, set_ds, set_fillstyle, set_gapcolor, set_linestyle, set_linewidth, set_ls, set_lw, set_marker, set_markeredgecolor, set_markeredgewidth, set_markerfacecolor, set_markerfacecoloralt, set_markersize, set_markevery, set_mec, set_mew, set_mfc, set_mfcalt, set_ms, set_picker, set_pickradius, set_solid_capstyle, set_solid_joinstyle, set_transform, set_xdata, set_ydata, update_from
Méthodes héritées de la classe Artist
__getstate__,
__init_subclass__,
add_callback,
convert_xunits,
convert_yunits,
findobj,
format_cursor_data,
get_agg_filter,
get_alpha,
get_animated,
get_children,
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_transformed_clip_path_and_affine,
get_url,
get_visible,
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_clip_path,
set_figure,
set_gid,
set_in_layout,
set_label,
set_mouseover,
set_path_effects,
set_rasterized,
set_sketch_params,
set_snap,
set_url,
set_visible,
set_zorder,
update
Méthodes héritées de la classe object
__delattr__,
__dir__,
__format__,
__getattribute__,
__getstate__,
__hash__,
__init_subclass__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__
Vous êtes un professionnel et vous avez besoin d'une formation ?
Calcul scientifique
avec Python
Voir le programme détaillé
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 :