doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
__call__(transform_xy, x1, y1, x2, y2)[source]
Compute an approximation of the bounding box obtained by applying transform_xy to the box delimited by (x1, y1, x2, y2). The intended use is to have (x1, y1, x2, y2) in axes coordinates, and have transform_xy be the transform from axes coordinates to data coordinates; th... | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.extremefindersimple#mpl_toolkits.axisartist.grid_finder.ExtremeFinderSimple.__call__ |
mpl_toolkits.axisartist.grid_finder.FixedLocator classmpl_toolkits.axisartist.grid_finder.FixedLocator(locs)[source]
Bases: object __call__(v1, v2)[source]
Call self as a function.
Examples using mpl_toolkits.axisartist.grid_finder.FixedLocator
mpl_toolkits.axisartist.floating_axes features | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.fixedlocator |
__call__(v1, v2)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.fixedlocator#mpl_toolkits.axisartist.grid_finder.FixedLocator.__call__ |
mpl_toolkits.axisartist.grid_finder.FormatterPrettyPrint classmpl_toolkits.axisartist.grid_finder.FormatterPrettyPrint(useMathText=True)[source]
Bases: object __call__(direction, factor, values)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.formatterprettyprint |
__call__(direction, factor, values)[source]
Call self as a function. | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.formatterprettyprint#mpl_toolkits.axisartist.grid_finder.FormatterPrettyPrint.__call__ |
mpl_toolkits.axisartist.grid_finder.GridFinder classmpl_toolkits.axisartist.grid_finder.GridFinder(transform, extreme_finder=None, grid_locator1=None, grid_locator2=None, tick_formatter1=None, tick_formatter2=None)[source]
Bases: object transform : transform from the image coordinate (which will be the transData of... | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.gridfinder |
get_grid_info(x1, y1, x2, y2)[source]
lon_values, lat_valueslist of grid values. if integer is given,
rough number of grids in each direction. | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.gridfinder#mpl_toolkits.axisartist.grid_finder.GridFinder.get_grid_info |
get_transform()[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.gridfinder#mpl_toolkits.axisartist.grid_finder.GridFinder.get_transform |
inv_transform_xy(x, y)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.gridfinder#mpl_toolkits.axisartist.grid_finder.GridFinder.inv_transform_xy |
set_transform(aux_trans)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.gridfinder#mpl_toolkits.axisartist.grid_finder.GridFinder.set_transform |
transform_xy(x, y)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.gridfinder#mpl_toolkits.axisartist.grid_finder.GridFinder.transform_xy |
update(**kw)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.gridfinder#mpl_toolkits.axisartist.grid_finder.GridFinder.update |
update_transform(aux_trans)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.gridfinder#mpl_toolkits.axisartist.grid_finder.GridFinder.update_transform |
mpl_toolkits.axisartist.grid_finder.MaxNLocator classmpl_toolkits.axisartist.grid_finder.MaxNLocator(nbins=10, steps=None, trim=True, integer=False, symmetric=False, prune=None)[source]
Bases: matplotlib.ticker.MaxNLocator Parameters
nbinsint or 'auto', default: 10
Maximum number of intervals; one less than m... | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.maxnlocator |
__call__(v1, v2)[source]
Return the locations of the ticks. | matplotlib._as_gen.mpl_toolkits.axisartist.grid_finder.maxnlocator#mpl_toolkits.axisartist.grid_finder.MaxNLocator.__call__ |
mpl_toolkits.axisartist.grid_helper_curvelinear An experimental support for curvilinear grid. Classes
FixedAxisArtistHelper(grid_helper, side[, ...]) Helper class for a fixed axis.
FloatingAxisArtistHelper(grid_helper, ...[, ...]) nth_coord = along which coordinate value varies.
GridHelperCurveLinear(aux_trans[,... | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear |
mpl_toolkits.axisartist.grid_helper_curvelinear.FixedAxisArtistHelper classmpl_toolkits.axisartist.grid_helper_curvelinear.FixedAxisArtistHelper(grid_helper, side, nth_coord_ticks=None)[source]
Bases: mpl_toolkits.axisartist.axislines.AxisArtistHelper.Fixed Helper class for a fixed axis. nth_coord = along which co... | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.fixedaxisartisthelper |
change_tick_coord(coord_number=None)[source]
[Deprecated] Notes Deprecated since version 3.5: | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.fixedaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FixedAxisArtistHelper.change_tick_coord |
get_tick_iterators(axes)[source]
tick_loc, tick_angle, tick_label | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.fixedaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FixedAxisArtistHelper.get_tick_iterators |
get_tick_transform(axes)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.fixedaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FixedAxisArtistHelper.get_tick_transform |
update_lim(axes)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.fixedaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FixedAxisArtistHelper.update_lim |
mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper classmpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper(grid_helper, nth_coord, value, axis_direction=None)[source]
Bases: mpl_toolkits.axisartist.axislines.AxisArtistHelper.Floating nth_coord = along which coordinate va... | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.floatingaxisartisthelper |
get_axislabel_pos_angle(axes)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.floatingaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper.get_axislabel_pos_angle |
get_axislabel_transform(axes)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.floatingaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper.get_axislabel_transform |
get_line(axes)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.floatingaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper.get_line |
get_line_transform(axes)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.floatingaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper.get_line_transform |
get_tick_iterators(axes)[source]
tick_loc, tick_angle, tick_label, (optionally) tick_label | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.floatingaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper.get_tick_iterators |
get_tick_transform(axes)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.floatingaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper.get_tick_transform |
set_extremes(e1, e2)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.floatingaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper.set_extremes |
update_lim(axes)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.floatingaxisartisthelper#mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper.update_lim |
mpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear classmpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear(aux_trans, extreme_finder=None, grid_locator1=None, grid_locator2=None, tick_formatter1=None, tick_formatter2=None)[source]
Bases: mpl_toolkits.axisartist.axislines.GridHe... | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.gridhelpercurvelinear |
get_gridlines(which='major', axis='both')[source]
Return list of grid lines as a list of paths (list of points). which : "major" or "minor" axis : "both", "x" or "y" | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.gridhelpercurvelinear#mpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear.get_gridlines |
get_tick_iterator(nth_coord, axis_side, minor=False)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.gridhelpercurvelinear#mpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear.get_tick_iterator |
new_fixed_axis(loc, nth_coord=None, axis_direction=None, offset=None, axes=None)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.gridhelpercurvelinear#mpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear.new_fixed_axis |
new_floating_axis(nth_coord, value, axes=None, axis_direction='bottom')[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.gridhelpercurvelinear#mpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear.new_floating_axis |
update_grid_finder(aux_trans=None, **kw)[source] | matplotlib._as_gen.mpl_toolkits.axisartist.grid_helper_curvelinear.gridhelpercurvelinear#mpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear.update_grid_finder |
mpl_toolkits.axisartist.parasite_axes | matplotlib._as_gen.mpl_toolkits.axisartist.parasite_axes |
backend_agg An Anti-Grain Geometry (AGG) backend. Features that are implemented: capstyles and join styles dashes linewidth lines, rectangles, ellipses clipping to a rectangle output to RGBA and Pillow-supported image formats alpha blending DPI scaling properly - everything scales properly (dashes, linewidths, etc) dr... | matplotlib.backend_agg_api |
matplotlib.backend_bases Abstract base classes define the primitives that renderers and graphics contexts must implement to serve as a Matplotlib backend. RendererBase
An abstract base class to handle drawing/rendering operations. FigureCanvasBase
The abstraction layer that separates the Figure from the backend spe... | matplotlib.backend_bases_api |
matplotlib.backend_bases.button_press_handler(event, canvas=None, toolbar=None)[source]
The default Matplotlib button actions for extra mouse buttons. Parameters are as for key_press_handler, except that event is a MouseEvent. | matplotlib.backend_bases_api#matplotlib.backend_bases.button_press_handler |
classmatplotlib.backend_bases.CloseEvent(name, canvas, guiEvent=None)[source]
Bases: matplotlib.backend_bases.Event An event triggered by a figure being closed. | matplotlib.backend_bases_api#matplotlib.backend_bases.CloseEvent |
classmatplotlib.backend_bases.DrawEvent(name, canvas, renderer)[source]
Bases: matplotlib.backend_bases.Event An event triggered by a draw operation on the canvas. In most backends, callbacks subscribed to this event will be fired after the rendering is complete but before the screen is updated. Any extra artists dra... | matplotlib.backend_bases_api#matplotlib.backend_bases.DrawEvent |
classmatplotlib.backend_bases.Event(name, canvas, guiEvent=None)[source]
Bases: object A Matplotlib event. The following attributes are defined and shown with their default values. Subclasses may define additional attributes. Attributes
namestr
The event name.
canvasFigureCanvasBase
The backend-specific can... | matplotlib.backend_bases_api#matplotlib.backend_bases.Event |
classmatplotlib.backend_bases.FigureCanvasBase(figure=None)[source]
Bases: object The canvas the figure renders into. Attributes
figurematplotlib.figure.Figure
A high-level figure instance. blit(bbox=None)[source]
Blit the canvas in bbox (default entire canvas).
propertybutton_pick_id
button_pre... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase |
blit(bbox=None)[source]
Blit the canvas in bbox (default entire canvas). | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.blit |
button_press_event(x, y, button, dblclick=False, guiEvent=None)[source]
Callback processing for mouse button press events. Backend derived classes should call this function on any mouse button press. (x, y) are the canvas coords ((0, 0) is lower left). button and key are as defined in MouseEvent. This method will cal... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.button_press_event |
button_release_event(x, y, button, guiEvent=None)[source]
Callback processing for mouse button release events. Backend derived classes should call this function on any mouse button release. This method will call all functions connected to the 'button_release_event' with a MouseEvent instance. Parameters
xfloat
... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.button_release_event |
close_event(guiEvent=None)[source]
Pass a CloseEvent to all functions connected to close_event. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.close_event |
draw(*args, **kwargs)[source]
Render the Figure. It is important that this method actually walk the artist tree even if not output is produced because this will trigger deferred work (like computing limits auto-limits and tick values) that users may want access to before saving to disk. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.draw |
draw_event(renderer)[source]
Pass a DrawEvent to all functions connected to draw_event. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.draw_event |
draw_idle(*args, **kwargs)[source]
Request a widget redraw once control returns to the GUI event loop. Even if multiple calls to draw_idle occur before control returns to the GUI event loop, the figure will only be rendered once. Notes Backends may choose to override the method and implement their own strategy to pre... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.draw_idle |
enter_notify_event(guiEvent=None, xy=None)[source]
Callback processing for the mouse cursor entering the canvas. Backend derived classes should call this function when entering canvas. Parameters
guiEvent
The native UI event that generated the Matplotlib event.
xy(float, float)
The coordinate location of the ... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.enter_notify_event |
events=['resize_event', 'draw_event', 'key_press_event', 'key_release_event', 'button_press_event', 'button_release_event', 'scroll_event', 'motion_notify_event', 'pick_event', 'figure_enter_event', 'figure_leave_event', 'axes_enter_event', 'axes_leave_event', 'close_event'] | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.events |
filetypes={'eps': 'Encapsulated Postscript', 'jpeg': 'Joint Photographic Experts Group', 'jpg': 'Joint Photographic Experts Group', 'pdf': 'Portable Document Format', 'pgf': 'PGF code for LaTeX', 'png': 'Portable Network Graphics', 'ps': 'Postscript', 'raw': 'Raw RGBA bitmap', 'rgba': 'Raw RGBA bitmap', 'svg': 'Scalabl... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.filetypes |
fixed_dpi=None | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.fixed_dpi |
flush_events()[source]
Flush the GUI events for the figure. Interactive backends need to reimplement this method. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.flush_events |
get_default_filename()[source]
Return a string, which includes extension, suitable for use as a default filename. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.get_default_filename |
classmethodget_default_filetype()[source]
Return the default savefig file format as specified in rcParams["savefig.format"] (default: 'png'). The returned string does not include a period. This method is overridden in backends that only support a single file type. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.get_default_filetype |
classmethodget_supported_filetypes()[source]
Return dict of savefig file formats supported by this backend. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.get_supported_filetypes |
classmethodget_supported_filetypes_grouped()[source]
Return a dict of savefig file formats supported by this backend, where the keys are a file type name, such as 'Joint Photographic Experts Group', and the values are a list of filename extensions used for that filetype, such as ['jpg', 'jpeg']. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.get_supported_filetypes_grouped |
get_width_height(*, physical=False)[source]
Return the figure width and height in integral points or pixels. When the figure is used on High DPI screens (and the backend supports it), the truncation to integers occurs after scaling by the device pixel ratio. Parameters
physicalbool, default: False
Whether to re... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.get_width_height |
get_window_title()[source]
[Deprecated] Return the title text of the window containing the figure, or None if there is no window (e.g., a PS backend). Notes Deprecated since version 3.4. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.get_window_title |
grab_mouse(ax)[source]
Set the child Axes which is grabbing the mouse events. Usually called by the widgets themselves. It is an error to call this if the mouse is already grabbed by another axes. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.grab_mouse |
inaxes(xy)[source]
Return the topmost visible Axes containing the point xy. Parameters
xy(float, float)
(x, y) pixel positions from left/bottom of the canvas. Returns
Axes or None
The topmost visible axes containing the point, or None if no axes. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.inaxes |
is_saving()[source]
Return whether the renderer is in the process of saving to a file, rather than rendering for an on-screen buffer. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.is_saving |
key_press_event(key, guiEvent=None)[source]
Pass a KeyEvent to all functions connected to key_press_event. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.key_press_event |
key_release_event(key, guiEvent=None)[source]
Pass a KeyEvent to all functions connected to key_release_event. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.key_release_event |
leave_notify_event(guiEvent=None)[source]
Callback processing for the mouse cursor leaving the canvas. Backend derived classes should call this function when leaving canvas. Parameters
guiEvent
The native UI event that generated the Matplotlib event. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.leave_notify_event |
motion_notify_event(x, y, guiEvent=None)[source]
Callback processing for mouse movement events. Backend derived classes should call this function on any motion-notify-event. This method will call all functions connected to the 'motion_notify_event' with a MouseEvent instance. Parameters
xfloat
The canvas coordi... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.motion_notify_event |
mpl_connect(s, func)[source]
Bind function func to event s. Parameters
sstr
One of the following events ids: 'button_press_event' 'button_release_event' 'draw_event' 'key_press_event' 'key_release_event' 'motion_notify_event' 'pick_event' 'resize_event' 'scroll_event' 'figure_enter_event', 'figure_leave_event'... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.mpl_connect |
mpl_disconnect(cid)[source]
Disconnect the callback with id cid. Examples cid = canvas.mpl_connect('button_press_event', on_press)
# ... later
canvas.mpl_disconnect(cid) | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.mpl_disconnect |
new_timer(interval=None, callbacks=None)[source]
Create a new backend-specific subclass of Timer. This is useful for getting periodic events through the backend's native event loop. Implemented only for backends with GUIs. Parameters
intervalint
Timer interval in milliseconds.
callbackslist[tuple[callable, tu... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.new_timer |
pick(mouseevent)[source] | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.pick |
pick_event(mouseevent, artist, **kwargs)[source]
Callback processing for pick events. This method will be called by artists who are picked and will fire off PickEvent callbacks registered listeners. Note that artists are not pickable by default (see Artist.set_picker). | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.pick_event |
print_figure(filename, dpi=None, facecolor=None, edgecolor=None, orientation='portrait', format=None, *, bbox_inches=None, pad_inches=None, bbox_extra_artists=None, backend=None, **kwargs)[source]
Render the figure to hardcopy. Set the figure patch face and edge colors. This is useful because some of the GUIs have a ... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.print_figure |
release_mouse(ax)[source]
Release the mouse grab held by the Axes ax. Usually called by the widgets. It is ok to call this even if ax doesn't have the mouse grab currently. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.release_mouse |
required_interactive_framework=None | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.required_interactive_framework |
resize(w, h)[source]
UNUSED: Set the canvas size in pixels. Certain backends may implement a similar method internally, but this is not a requirement of, nor is it used by, Matplotlib itself. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.resize |
resize_event()[source]
Pass a ResizeEvent to all functions connected to resize_event. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.resize_event |
scroll_event(x, y, step, guiEvent=None)[source]
Callback processing for scroll events. Backend derived classes should call this function on any scroll wheel event. (x, y) are the canvas coords ((0, 0) is lower left). button and key are as defined in MouseEvent. This method will call all functions connected to the 'sc... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.scroll_event |
set_cursor(cursor)[source]
Set the current cursor. This may have no effect if the backend does not display anything. If required by the backend, this method should trigger an update in the backend event loop after the cursor is set, as this method may be called e.g. before a long-running task during which the GUI is ... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.set_cursor |
set_window_title(title)[source]
[Deprecated] Set the title text of the window containing the figure. Note that this has no effect if there is no window (e.g., a PS backend). Notes Deprecated since version 3.4. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.set_window_title |
start_event_loop(timeout=0)[source]
Start a blocking event loop. Such an event loop is used by interactive functions, such as ginput and waitforbuttonpress, to wait for events. The event loop blocks until a callback function triggers stop_event_loop, or timeout is reached. If timeout is 0 or negative, never timeout. ... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.start_event_loop |
stop_event_loop()[source]
Stop the current blocking event loop. Interactive backends need to reimplement this to match start_event_loop | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.stop_event_loop |
supports_blit=False | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.supports_blit |
switch_backends(FigureCanvasClass)[source]
Instantiate an instance of FigureCanvasClass This is used for backend switching, e.g., to instantiate a FigureCanvasPS from a FigureCanvasGTK. Note, deep copying is not done, so any changes to one of the instances (e.g., setting figure size or line props), will be reflected ... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureCanvasBase.switch_backends |
classmatplotlib.backend_bases.FigureManagerBase(canvas, num)[source]
Bases: object A backend-independent abstraction of a figure container and controller. The figure manager is used by pyplot to interact with the window in a backend-independent way. It's an adapter for the real (GUI) framework that represents the vis... | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureManagerBase |
button_press(event)[source]
[Deprecated] The default Matplotlib button actions for extra mouse buttons. Notes Deprecated since version 3.4. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureManagerBase.button_press |
destroy()[source] | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureManagerBase.destroy |
full_screen_toggle()[source] | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureManagerBase.full_screen_toggle |
get_window_title()[source]
Return the title text of the window containing the figure, or None if there is no window (e.g., a PS backend). | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureManagerBase.get_window_title |
key_press(event)[source]
[Deprecated] Implement the default Matplotlib key bindings defined at Navigation keyboard shortcuts. Notes Deprecated since version 3.4. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureManagerBase.key_press |
resize(w, h)[source]
For GUI backends, resize the window (in physical pixels). | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureManagerBase.resize |
set_window_title(title)[source]
Set the title text of the window containing the figure. This has no effect for non-GUI (e.g., PS) backends. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureManagerBase.set_window_title |
show()[source]
For GUI backends, show the figure window and redraw. For non-GUI backends, raise an exception, unless running headless (i.e. on Linux with an unset DISPLAY); this exception is converted to a warning in Figure.show. | matplotlib.backend_bases_api#matplotlib.backend_bases.FigureManagerBase.show |
matplotlib.backend_bases.get_registered_canvas_class(format)[source]
Return the registered default canvas for given file format. Handles deferred import of required backend. | matplotlib.backend_bases_api#matplotlib.backend_bases.get_registered_canvas_class |
classmatplotlib.backend_bases.GraphicsContextBase[source]
Bases: object An abstract base class that provides color, line styles, etc. copy_properties(gc)[source]
Copy properties from gc to self.
get_alpha()[source]
Return the alpha value used for blending - not supported on all backends.
get_antialiased... | matplotlib.backend_bases_api#matplotlib.backend_bases.GraphicsContextBase |
copy_properties(gc)[source]
Copy properties from gc to self. | matplotlib.backend_bases_api#matplotlib.backend_bases.GraphicsContextBase.copy_properties |
get_alpha()[source]
Return the alpha value used for blending - not supported on all backends. | matplotlib.backend_bases_api#matplotlib.backend_bases.GraphicsContextBase.get_alpha |
get_antialiased()[source]
Return whether the object should try to do antialiased rendering. | matplotlib.backend_bases_api#matplotlib.backend_bases.GraphicsContextBase.get_antialiased |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.