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é
Classe « Axes »
Signature de la méthode stairs
def stairs(self, values, edges=None, *, orientation='vertical', baseline=0, fill=False, data=None, **kwargs)
Description
help(Axes.stairs)
Draw a stepwise constant function as a line or a filled plot.
*edges* define the x-axis positions of the steps. *values* the function values
between these steps. Depending on *fill*, the function is drawn either as a
continuous line with vertical segments at the edges, or as a filled area.
Parameters
----------
values : array-like
The step heights.
edges : array-like
The step positions, with ``len(edges) == len(vals) + 1``,
between which the curve takes on vals values.
orientation : {'vertical', 'horizontal'}, default: 'vertical'
The direction of the steps. Vertical means that *values* are along
the y-axis, and edges are along the x-axis.
baseline : float, array-like or None, default: 0
The bottom value of the bounding edges or when
``fill=True``, position of lower edge. If *fill* is
True or an array is passed to *baseline*, a closed
path is drawn.
If None, then drawn as an unclosed Path.
fill : bool, default: False
Whether the area under the step curve should be filled.
Passing both ``fill=True` and ``baseline=None`` will likely result in
undesired filling: the first and last points will be connected
with a straight line and the fill will be between this line and the stairs.
Returns
-------
StepPatch : `~matplotlib.patches.StepPatch`
Other Parameters
----------------
data : indexable object, optional
If given, all parameters also accept a string ``s``, which is
interpreted as ``data[s]`` if ``s`` is a key in ``data``.
**kwargs
`~matplotlib.patches.StepPatch` properties
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 :