matplotlib.artist
#
Diagrammi di ereditarietà #
![Diagramma di ereditarietà di matplotlib.axes._axes.Axes, matplotlib.axes._base._AxesBase, matplotlib.axis.Axis, matplotlib.axis.Tick, matplotlib.axis.XAxis, matplotlib.axis.XTick, matplotlib.axis.YAxis, matplotlib .axis.YTick, matplotlib.collections.AsteriskPolygonCollection, matplotlib.collections.BrokenBarHCollection, matplotlib.collections.CircleCollection, matplotlib.collections.Collection, matplotlib.collections.EllipseCollection, matplotlib.collections.EventCollection, matplotlib.collections.LineCollection, matplotlib.collections .PatchCollection, matplotlib.collections.PathCollection, matplotlib.collections.PolyCollection, matplotlib.collections.QuadMesh, matplotlib.collections.RegularPolyCollection, matplotlib.collections.StarPolygonCollection, matplotlib.collections.TriMesh, matplotlib.collections._CollectionWithSizes, matplotlib.contour.ClabelText, matplotlib.figure.Figure, matplotlib.image.AxesImage, matplotlib.image.BboxImage, matplotlib.image.FigureImage, matplotlib.image.NonUniformImage, matplotlib.image.PcolorImage, matplotlib.image._ImageBase, matplotlib.legend.Legend, matplotlib.lines.Line2D, matplotlib.offsetbox.AnchoredOffsetbox, matplotlib.offsetbox.AnchoredText, matplotlib.offsetbox.AnnotationBbox, matplotlib.offsetbox.AuxTransformBox, matplotlib.offsetbox.DrawingArea, matplotlib.offsetbox.HPacker, matplotlib.offsetbox.OffsetBox, matplotlib. offsetbox.OffsetImage, matplotlib.offsetbox.PackerBase, matplotlib.offsetbox.PaddedBox, matplotlib.offsetbox.TextArea, matplotlib.offsetbox.VPacker, matplotlib.patches.Arc, matplotlib.patches.Arrow, matplotlib.patches.Circle, matplotlib.patches. CirclePolygon, matplotlib.patches.ConnectionPatch, matplotlib.patches.Ellipse, matplotlib.patches.FancyArrow, matplotlib.patches.FancyArrowPatch, matplotlib.patches.FancyBboxPatch, matplotlib.patches.Patch, matplotlib.patches.PathPatch, matplotlib.patches.StepPatch, matplotlib.patches.Polygon, matplotlib.patches.Rectangle, matplotlib.patches. RegularPolygon, matplotlib.patches.Shadow, matplotlib.patches.Wedge, matplotlib.projections.geo.AitoffAxes, matplotlib.projections.geo.GeoAxes, matplotlib.projections.geo.HammerAxes, matplotlib.projections.geo.LambertAxes, matplotlib.projections. geo.MollweideAxes, matplotlib.projections.polar.PolarAxes, matplotlib.quiver.Barbs, matplotlib.quiver.Quiver, matplotlib.quiver.QuiverKey, matplotlib.spines.Spine, matplotlib.table.Cell, matplotlib.table.CustomCell, matplotlib. table.Table, matplotlib.text.Annotation, matplotlib.text.Textpatches.FancyBboxPatch, matplotlib.patches.Patch, matplotlib.patches.PathPatch, matplotlib.patches.StepPatch, matplotlib.patches.Polygon, matplotlib.patches.Rectangle, matplotlib.patches.RegularPolygon, matplotlib.patches.Shadow, matplotlib.patches. Cuneo, matplotlib.projections.geo.AitoffAxes, matplotlib.projections.geo.GeoAxes, matplotlib.projections.geo.HammerAxes, matplotlib.projections.geo.LambertAxes, matplotlib.projections.geo.MollweideAxes, matplotlib.projections.polar.PolarAxes, matplotlib.quiver.Barbs, matplotlib.quiver.Quiver, matplotlib.quiver.QuiverKey, matplotlib.spines.Spine, matplotlib.table.Cell, matplotlib.table.CustomCell, matplotlib.table.Table, matplotlib.text.Annotation, matplotlib. testo.Testopatches.FancyBboxPatch, matplotlib.patches.Patch, matplotlib.patches.PathPatch, matplotlib.patches.StepPatch, matplotlib.patches.Polygon, matplotlib.patches.Rectangle, matplotlib.patches.RegularPolygon, matplotlib.patches.Shadow, matplotlib.patches. Cuneo, matplotlib.projections.geo.AitoffAxes, matplotlib.projections.geo.GeoAxes, matplotlib.projections.geo.HammerAxes, matplotlib.projections.geo.LambertAxes, matplotlib.projections.geo.MollweideAxes, matplotlib.projections.polar.PolarAxes, matplotlib.quiver.Barbs, matplotlib.quiver.Quiver, matplotlib.quiver.QuiverKey, matplotlib.spines.Spine, matplotlib.table.Cell, matplotlib.table.CustomCell, matplotlib.table.Table, matplotlib.text.Annotation, matplotlib. testo.Testomatplotlib.patches.Rectangle, matplotlib.patches.RegularPolygon, matplotlib.patches.Shadow, matplotlib.patches.Wedge, matplotlib.projections.geo.AitoffAxes, matplotlib.projections.geo.GeoAxes, matplotlib.projections.geo.HammerAxes, matplotlib. projections.geo.LambertAxes, matplotlib.projections.geo.MollweideAxes, matplotlib.projections.polar.PolarAxes, matplotlib.quiver.Barbs, matplotlib.quiver.Quiver, matplotlib.quiver.QuiverKey, matplotlib.spines.Spine, matplotlib.table. Cella, matplotlib.table.CustomCell, matplotlib.table.Table, matplotlib.text.Annotation, matplotlib.text.Textmatplotlib.patches.Rectangle, matplotlib.patches.RegularPolygon, matplotlib.patches.Shadow, matplotlib.patches.Wedge, matplotlib.projections.geo.AitoffAxes, matplotlib.projections.geo.GeoAxes, matplotlib.projections.geo.HammerAxes, matplotlib. projections.geo.LambertAxes, matplotlib.projections.geo.MollweideAxes, matplotlib.projections.polar.PolarAxes, matplotlib.quiver.Barbs, matplotlib.quiver.Quiver, matplotlib.quiver.QuiverKey, matplotlib.spines.Spine, matplotlib.table. Cella, matplotlib.table.CustomCell, matplotlib.table.Table, matplotlib.text.Annotation, matplotlib.text.Textmatplotlib.projections.geo.MollweideAxes, matplotlib.projections.polar.PolarAxes, matplotlib.quiver.Barbs, matplotlib.quiver.Quiver, matplotlib.quiver.QuiverKey, matplotlib.spines.Spine, matplotlib.table.Cell, matplotlib.table. CustomCell, matplotlib.table.Table, matplotlib.text.Annotation, matplotlib.text.Textmatplotlib.projections.geo.MollweideAxes, matplotlib.projections.polar.PolarAxes, matplotlib.quiver.Barbs, matplotlib.quiver.Quiver, matplotlib.quiver.QuiverKey, matplotlib.spines.Spine, matplotlib.table.Cell, matplotlib.table. CustomCell, matplotlib.table.Table, matplotlib.text.Annotation, matplotlib.text.Text](/stable/_images/inheritance-7345c0ddb5186802e9fa7f2fb57416ac6be9621b.png)
Artist
classe #
- classe matplotlib.artist. Artista [fonte] #
Classe di base astratta per oggetti che eseguono il rendering in un oggetto FigureCanvas.
In genere, tutti gli elementi visibili in una figura sono sottoclassi di Artista.
Interattivo #
Aggiungi una funzione di callback che verrà chiamata ogni volta che una delle |
|
Rimuovi una richiamata in base al suo ID osservatore. |
|
Chiama tutte le richiamate registrate. |
|
Restituisce i dati del cursore per un determinato evento. |
|
Restituisce una rappresentazione in formato stringa di data . |
|
Imposta se questo artista deve ricevere informazioni di contesto personalizzate quando il cursore del mouse si sposta su di esso. |
|
Indica se a questo artista vengono chieste informazioni sul contesto personalizzato quando il cursore del mouse si sposta su di esso. |
|
Indica se a questo artista vengono chieste informazioni sul contesto personalizzato quando il cursore del mouse si sposta su di esso. |
|
Verifica se l'artista contiene l'evento del mouse. |
|
Elabora un evento pick. |
|
Indica se l'artista è selezionabile. |
|
Definire il comportamento di pennata dell'artista. |
|
Restituisci il comportamento di pennata dell'artista. |
Ritaglio #
Imposta se l'artista utilizza il ritaglio. |
|
Indica se l'artista utilizza il ritaglio. |
|
Imposta la clip dell'artista |
|
Restituisci la clipbox. |
|
Imposta il percorso della clip dell'artista. |
|
Restituisce il percorso della clip. |
Proprietà in blocco #
Aggiorna le proprietà di questo artista da dict props . |
|
Copia le proprietà da other a self . |
|
Restituisce un dizionario di tutte le proprietà dell'artista. |
|
Imposta più proprietà contemporaneamente. |
Disegno #
Disegna l'artista (e i suoi figli) usando il renderer dato. |
|
Imposta se l'artista deve essere utilizzato in un'animazione. |
|
Restituisce se l'artista è animato. |
|
Imposta il valore alfa utilizzato per la fusione - non supportato su tutti i backend. |
|
Restituisce il valore alfa utilizzato per la fusione, non supportato su tutti i backend. |
|
Imposta il comportamento di aggancio. |
|
Ripristina l'impostazione dello snap. |
|
Imposta la visibilità dell'artista. |
|
Restituisci la visibilità. |
|
Imposta lo zorder per l'artista. |
|
Restituisci lo zorder dell'artista. |
|
Imposta il filtro agg. |
|
Impostare i parametri dello schizzo. |
|
Restituisce i parametri dello schizzo per l'artista. |
|
Forza il disegno rasterizzato (bitmap) per l'output di grafica vettoriale. |
|
Indica se l'artista deve essere rasterizzato. |
|
Imposta gli effetti del percorso. |
|
Funzione di filtro di ritorno da utilizzare per il filtro agg. |
|
Ottieni il riquadro di delimitazione dell'artista nello spazio espositivo. |
|
Mi piace |
|
Restituisce il tracciato della clip con la parte non affine della sua trasformazione applicata e la restante parte affine della sua trasformazione. |
Figura e Assi #
Se possibile, rimuovi l'artista dalla figura. |
|
L' |
|
Imposta l' |
|
Restituisce l' |
Bambini #
Trova oggetti d'artista. |
Trasforma #
Imposta la trasformazione dell'artista. |
|
Restituisce l' |
|
Restituisce se l'artista ha una trasformazione impostata in modo esplicito. |
Unità n.
Converti x utilizzando il tipo di unità dell'asse x. |
|
Converti y utilizzando il tipo di unità dell'asse y. |
|
Restituisce se le unità sono impostate su qualsiasi asse. |
Metadati n.
Imposta l'id (gruppo) per l'artista. |
|
Restituisce l'id del gruppo. |
|
Imposta un'etichetta che verrà visualizzata nella legenda. |
|
Restituisci l'etichetta utilizzata per questo artista nella legenda. |
|
Imposta l'URL dell'artista. |
|
Restituisci l'URL. |
Varie #
|
|
Imposta se l'artista deve essere incluso nei calcoli del layout, ad es |
|
Restituisce il flag booleano, |
|
Se l'artista è "vecchio" e deve essere ridisegnato affinché l'output corrisponda allo stato interno dell'artista. |
Funzioni #
Decoratore per il metodo Artist.draw. |
|
Restituisci il valore di una |
|
Restituisci il valore di una |
|
Impostare una o più proprietà su un |
|
Ispeziona una |
|
Una classe helper per ispezionare un |