doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
draw_image(gc, x, y, im, transform=None)[source] Draw an RGBA image. Parameters gcGraphicsContextBase A graphics context with clipping information. xscalar The distance in physical units (i.e., dots or pixels) from the left hand side of the canvas. yscalar The distance in physical units (i.e., dots or p...
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.draw_image
draw_markers(gc, marker_path, marker_trans, path, trans, rgbFace=None)[source] Draw a marker at each of path's vertices (excluding control points). This provides a fallback implementation of draw_markers that makes multiple calls to draw_path(). Some backends may want to override this method in order to draw the mark...
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.draw_markers
draw_path(gc, path, transform, rgbFace=None)[source] Draw a Path instance using the given affine transform.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.draw_path
draw_path_collection(gc, master_transform, paths, all_transforms, offsets, offsetTrans, facecolors, edgecolors, linewidths, linestyles, antialiaseds, urls, offset_position)[source] Draw a collection of paths selecting drawing properties from the lists facecolors, edgecolors, linewidths, linestyles and antialiaseds. o...
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.draw_path_collection
draw_tex(gc, x, y, s, prop, angle, *, mtext=None)[source]
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.draw_tex
draw_text(gc, x, y, s, prop, angle, ismath=False, mtext=None)[source] Draw the text instance. Parameters gcGraphicsContextBase The graphics context. xfloat The x location of the text in display coords. yfloat The y location of the text baseline in display coords. sstr The text string. propmatplotl...
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.draw_text
finalize()[source]
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.finalize
flipy()[source] Return whether y values increase from top to bottom. Note that this only affects drawing of texts and images.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.flipy
get_canvas_width_height()[source] Return the canvas width and height in display coords.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.get_canvas_width_height
get_image_magnification()[source] Get the factor by which to magnify images passed to draw_image(). Allows a backend to have images at a different resolution to other artists.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.get_image_magnification
get_text_width_height_descent(s, prop, ismath)[source] Get the width, height, and descent (offset from the bottom to the baseline), in display coords, of the string s with FontProperties prop.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.get_text_width_height_descent
open_group(s, gid=None)[source] Open a grouping element with label s and gid (if set) as id. Only used by the SVG renderer.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.open_group
option_image_nocomposite()[source] Return whether image composition by Matplotlib should be skipped. Raster backends should usually return False (letting the C-level rasterizer take care of image composition); vector backends should usually return not rcParams["image.composite_image"].
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.option_image_nocomposite
option_scale_image()[source] Return whether arbitrary affine transformations in draw_image() are supported (True for most vector backends).
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.RendererSVG.option_scale_image
matplotlib.backends.backend_svg.short_float_fmt(x)[source] Create a short string representation of a float, which is %f formatting with trailing zeros and the decimal point removed.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.short_float_fmt
classmatplotlib.backends.backend_svg.XMLWriter(file)[source] Bases: object Parameters filewritable text file-like object close(id)[source] Close open elements, up to (and including) the element identified by the given identifier. Parameters id Element identifier, as returned by the start() method. ...
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.XMLWriter
close(id)[source] Close open elements, up to (and including) the element identified by the given identifier. Parameters id Element identifier, as returned by the start() method.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.XMLWriter.close
comment(comment)[source] Add a comment to the output stream. Parameters commentstr Comment text.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.XMLWriter.comment
data(text)[source] Add character data to the output stream. Parameters textstr Character data.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.XMLWriter.data
element(tag, text=None, attrib={}, **extra)[source] Add an entire element. This is the same as calling start(), data(), and end() in sequence. The text argument can be omitted.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.XMLWriter.element
end(tag=None, indent=True)[source] Close the current element (opened by the most recent call to start()). Parameters tag Element tag. If given, the tag must match the start tag. If omitted, the current element is closed.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.XMLWriter.end
flush()[source] Flush the output stream.
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.XMLWriter.flush
start(tag, attrib={}, **extra)[source] Open a new element. Attributes can be given as keyword arguments, or as a string/string dictionary. The method returns an opaque identifier that can be passed to the close() method, to close all open elements up to and including this one. Parameters tag Element tag. attrib ...
matplotlib.backend_svg_api#matplotlib.backends.backend_svg.XMLWriter.start
matplotlib.backends.backend_template.draw_if_interactive()[source] For image backends - is not required. For GUI backends - this should be overridden if drawing should be done in interactive python mode.
matplotlib.backend_template_api#matplotlib.backends.backend_template.draw_if_interactive
matplotlib.backends.backend_template.FigureCanvas[source] alias of matplotlib.backends.backend_template.FigureCanvasTemplate
matplotlib.backend_template_api#matplotlib.backends.backend_template.FigureCanvas
classmatplotlib.backends.backend_template.FigureCanvasTemplate(figure=None)[source] Bases: matplotlib.backend_bases.FigureCanvasBase The canvas the figure renders into. Calls the draw and print fig methods, creates the renderers, etc. Note: GUI templates will want to connect events for button presses, mouse movements...
matplotlib.backend_template_api#matplotlib.backends.backend_template.FigureCanvasTemplate
draw()[source] Draw the figure using the renderer. 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_template_api#matplotlib.backends.backend_template.FigureCanvasTemplate.draw
filetypes={'eps': 'Encapsulated Postscript', 'foo': 'My magic Foo format', '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...
matplotlib.backend_template_api#matplotlib.backends.backend_template.FigureCanvasTemplate.filetypes
get_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_template_api#matplotlib.backends.backend_template.FigureCanvasTemplate.get_default_filetype
print_foo(filename, *args, **kwargs)[source] Write out format foo. This method is normally called via Figure.savefig and FigureCanvasBase.print_figure, which take care of setting the figure facecolor, edgecolor, and dpi to the desired output values, and will restore them to the original values. Therefore, print_foo d...
matplotlib.backend_template_api#matplotlib.backends.backend_template.FigureCanvasTemplate.print_foo
matplotlib.backends.backend_template.FigureManager[source] alias of matplotlib.backends.backend_template.FigureManagerTemplate
matplotlib.backend_template_api#matplotlib.backends.backend_template.FigureManager
classmatplotlib.backends.backend_template.FigureManagerTemplate(canvas, num)[source] Bases: matplotlib.backend_bases.FigureManagerBase Helper class for pyplot mode, wraps everything up into a neat bundle. For non-interactive backends, the base class is sufficient.
matplotlib.backend_template_api#matplotlib.backends.backend_template.FigureManagerTemplate
classmatplotlib.backends.backend_template.GraphicsContextTemplate[source] Bases: matplotlib.backend_bases.GraphicsContextBase The graphics context provides the color, line styles, etc... See the cairo and postscript backends for examples of mapping the graphics context attributes (cap styles, join styles, line widths...
matplotlib.backend_template_api#matplotlib.backends.backend_template.GraphicsContextTemplate
matplotlib.backends.backend_template.new_figure_manager(num, *args, FigureClass=<class 'matplotlib.figure.Figure'>, **kwargs)[source] Create a new figure manager instance.
matplotlib.backend_template_api#matplotlib.backends.backend_template.new_figure_manager
matplotlib.backends.backend_template.new_figure_manager_given_figure(num, figure)[source] Create a new figure manager instance for the given figure.
matplotlib.backend_template_api#matplotlib.backends.backend_template.new_figure_manager_given_figure
classmatplotlib.backends.backend_template.RendererTemplate(dpi)[source] Bases: matplotlib.backend_bases.RendererBase The renderer handles drawing/rendering operations. This is a minimal do-nothing class that can be used to get started when writing a new backend. Refer to backend_bases.RendererBase for documentation o...
matplotlib.backend_template_api#matplotlib.backends.backend_template.RendererTemplate
draw_image(gc, x, y, im)[source] Draw an RGBA image. Parameters gcGraphicsContextBase A graphics context with clipping information. xscalar The distance in physical units (i.e., dots or pixels) from the left hand side of the canvas. yscalar The distance in physical units (i.e., dots or pixels) from the ...
matplotlib.backend_template_api#matplotlib.backends.backend_template.RendererTemplate.draw_image
draw_path(gc, path, transform, rgbFace=None)[source] Draw a Path instance using the given affine transform.
matplotlib.backend_template_api#matplotlib.backends.backend_template.RendererTemplate.draw_path
draw_text(gc, x, y, s, prop, angle, ismath=False, mtext=None)[source] Draw the text instance. Parameters gcGraphicsContextBase The graphics context. xfloat The x location of the text in display coords. yfloat The y location of the text baseline in display coords. sstr The text string. propmatplotl...
matplotlib.backend_template_api#matplotlib.backends.backend_template.RendererTemplate.draw_text
flipy()[source] Return whether y values increase from top to bottom. Note that this only affects drawing of texts and images.
matplotlib.backend_template_api#matplotlib.backends.backend_template.RendererTemplate.flipy
get_canvas_width_height()[source] Return the canvas width and height in display coords.
matplotlib.backend_template_api#matplotlib.backends.backend_template.RendererTemplate.get_canvas_width_height
get_text_width_height_descent(s, prop, ismath)[source] Get the width, height, and descent (offset from the bottom to the baseline), in display coords, of the string s with FontProperties prop.
matplotlib.backend_template_api#matplotlib.backends.backend_template.RendererTemplate.get_text_width_height_descent
new_gc()[source] Return an instance of a GraphicsContextBase.
matplotlib.backend_template_api#matplotlib.backends.backend_template.RendererTemplate.new_gc
points_to_pixels(points)[source] Convert points to display units. You need to override this function (unless your backend doesn't have a dpi, e.g., postscript or svg). Some imaging systems assume some value for pixels per inch: points to pixels = points * pixels_per_inch/72 * dpi/72 Parameters pointsfloat or arr...
matplotlib.backend_template_api#matplotlib.backends.backend_template.RendererTemplate.points_to_pixels
matplotlib.backends.backend_template.show(*, block=None)[source] For image backends - is not required. For GUI backends - show() is usually the last line of a pyplot script and tells the backend that it is time to draw. In interactive mode, this should do nothing.
matplotlib.backend_template_api#matplotlib.backends.backend_template.show
matplotlib.backends.backend_tkagg.FigureCanvas[source] alias of matplotlib.backends.backend_tkagg.FigureCanvasTkAgg
matplotlib.backend_tk_api#matplotlib.backends.backend_tkagg.FigureCanvas
classmatplotlib.backends.backend_tkagg.FigureCanvasTkAgg(figure=None, master=None, resize_callback=<deprecated parameter>)[source] Bases: matplotlib.backends.backend_agg.FigureCanvasAgg, matplotlib.backends._backend_tk.FigureCanvasTk blit(bbox=None)[source] Blit the canvas in bbox (default entire canvas). dra...
matplotlib.backend_tk_api#matplotlib.backends.backend_tkagg.FigureCanvasTkAgg
blit(bbox=None)[source] Blit the canvas in bbox (default entire canvas).
matplotlib.backend_tk_api#matplotlib.backends.backend_tkagg.FigureCanvasTkAgg.blit
draw()[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_tk_api#matplotlib.backends.backend_tkagg.FigureCanvasTkAgg.draw
matplotlib.backends.backend_tkcairo.FigureCanvas[source] alias of matplotlib.backends.backend_tkcairo.FigureCanvasTkCairo
matplotlib.backend_tk_api#matplotlib.backends.backend_tkcairo.FigureCanvas
classmatplotlib.backends.backend_tkcairo.FigureCanvasTkCairo(*args, **kwargs)[source] Bases: matplotlib.backends.backend_cairo.FigureCanvasCairo, matplotlib.backends._backend_tk.FigureCanvasTk draw()[source] Render the Figure. It is important that this method actually walk the artist tree even if not output is pr...
matplotlib.backend_tk_api#matplotlib.backends.backend_tkcairo.FigureCanvasTkCairo
draw()[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_tk_api#matplotlib.backends.backend_tkcairo.FigureCanvasTkCairo.draw
matplotlib.backends.backend_webagg.FigureCanvas[source] alias of matplotlib.backends.backend_webagg.FigureCanvasWebAgg
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.FigureCanvas
classmatplotlib.backends.backend_webagg.FigureCanvasWebAgg(*args, **kwargs)[source] Bases: matplotlib.backends.backend_webagg_core.FigureCanvasWebAggCore
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.FigureCanvasWebAgg
matplotlib.backends.backend_webagg.ipython_inline_display(figure)[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.ipython_inline_display
classmatplotlib.backends.backend_webagg.ServerThread(group=None, target=None, name=None, args=(), kwargs=None, *, daemon=None)[source] Bases: threading.Thread This constructor should always be called with keyword arguments. Arguments are: group should be None; reserved for future extension when a ThreadGroup class is...
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.ServerThread
run()[source] Method representing the thread's activity. You may override this method in a subclass. The standard run() method invokes the callable object passed to the object's constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.ServerThread.run
matplotlib.backends.backend_webagg.show()[source] Show all figures. show blocks by calling mainloop if block is True, or if it is None and we are neither in IPython's %pylab mode, nor in interactive mode.
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.show
classmatplotlib.backends.backend_webagg.WebAggApplication(url_prefix='')[source] Bases: tornado.web.Application classAllFiguresPage(application, request, *, url_prefix='', **kwargs)[source] Bases: tornado.web.RequestHandler get()[source] classDownload(application:tornado.web.Application, request:tornado.h...
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication
classAllFiguresPage(application, request, *, url_prefix='', **kwargs)[source] Bases: tornado.web.RequestHandler get()[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.AllFiguresPage
get()[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.AllFiguresPage.get
classDownload(application:tornado.web.Application, request:tornado.httputil.HTTPServerRequest, **kwargs:Any)[source] Bases: tornado.web.RequestHandler get(fignum, fmt)[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.Download
get(fignum, fmt)[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.Download.get
classFavIcon(application:tornado.web.Application, request:tornado.httputil.HTTPServerRequest, **kwargs:Any)[source] Bases: tornado.web.RequestHandler get()[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.FavIcon
get()[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.FavIcon.get
classmethodinitialize(url_prefix='', port=None, address=None)[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.initialize
initialized=False
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.initialized
classMplJs(application:tornado.web.Application, request:tornado.httputil.HTTPServerRequest, **kwargs:Any)[source] Bases: tornado.web.RequestHandler get()[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.MplJs
get()[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.MplJs.get
classSingleFigurePage(application, request, *, url_prefix='', **kwargs)[source] Bases: tornado.web.RequestHandler get(fignum)[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.SingleFigurePage
get(fignum)[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.SingleFigurePage.get
classmethodstart()[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.start
started=False
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.started
classWebSocket(application:tornado.web.Application, request:tornado.httputil.HTTPServerRequest, **kwargs:Any)[source] Bases: tornado.websocket.WebSocketHandler on_close()[source] Invoked when the WebSocket is closed. If the connection was closed cleanly and a status code or reason phrase was supplied, these value...
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.WebSocket
on_close()[source] Invoked when the WebSocket is closed. If the connection was closed cleanly and a status code or reason phrase was supplied, these values will be available as the attributes self.close_code and self.close_reason. Changed in version 4.0: Added close_code and close_reason attributes.
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.WebSocket.on_close
on_message(message)[source] Handle incoming messages on the WebSocket This method must be overridden. Changed in version 4.5: on_message can be a coroutine.
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.WebSocket.on_message
open(fignum)[source] Invoked when a new WebSocket is opened. The arguments to open are extracted from the tornado.web.URLSpec regular expression, just like the arguments to tornado.web.RequestHandler.get. open may be a coroutine. on_message will not be called until open has returned. Changed in version 5.1: open may...
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.WebSocket.open
send_binary(blob)[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.WebSocket.send_binary
send_json(content)[source]
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.WebSocket.send_json
supports_binary=True
matplotlib.backend_webagg_api#matplotlib.backends.backend_webagg.WebAggApplication.WebSocket.supports_binary
matplotlib.bezier A module providing some utility functions regarding Bezier path manipulation. classmatplotlib.bezier.BezierSegment(control_points)[source] Bases: object A d-dimensional Bezier segment. Parameters control_points(N, d) array Location of the N control points. axis_aligned_extrema()[source...
matplotlib.bezier_api
classmatplotlib.bezier.BezierSegment(control_points)[source] Bases: object A d-dimensional Bezier segment. Parameters control_points(N, d) array Location of the N control points. axis_aligned_extrema()[source] Return the dimension and location of the curve's interior extrema. The extrema are the points ...
matplotlib.bezier_api#matplotlib.bezier.BezierSegment
axis_aligned_extrema()[source] Return the dimension and location of the curve's interior extrema. The extrema are the points along the curve where one of its partial derivatives is zero. Returns dimsarray of int Index \(i\) of the partial derivative which is zero at each interior extrema. dzerosarray of float...
matplotlib.bezier_api#matplotlib.bezier.BezierSegment.axis_aligned_extrema
point_at_t(t)[source] Evaluate the curve at a single point, returning a tuple of d floats.
matplotlib.bezier_api#matplotlib.bezier.BezierSegment.point_at_t
matplotlib.bezier.check_if_parallel(dx1, dy1, dx2, dy2, tolerance=1e-05)[source] Check if two lines are parallel. Parameters dx1, dy1, dx2, dy2float The gradients dy/dx of the two lines. tolerancefloat The angular tolerance in radians up to which the lines are considered parallel. Returns is_parallel ...
matplotlib.bezier_api#matplotlib.bezier.check_if_parallel
matplotlib.bezier.find_bezier_t_intersecting_with_closedpath(bezier_point_at_t, inside_closedpath, t0=0.0, t1=1.0, tolerance=0.01)[source] Find the intersection of the Bezier curve with a closed path. The intersection point t is approximated by two parameters t0, t1 such that t0 <= t <= t1. Search starts from t0 and ...
matplotlib.bezier_api#matplotlib.bezier.find_bezier_t_intersecting_with_closedpath
matplotlib.bezier.find_control_points(c1x, c1y, mmx, mmy, c2x, c2y)[source] Find control points of the Bezier curve passing through (c1x, c1y), (mmx, mmy), and (c2x, c2y), at parametric values 0, 0.5, and 1.
matplotlib.bezier_api#matplotlib.bezier.find_control_points
matplotlib.bezier.get_cos_sin(x0, y0, x1, y1)[source]
matplotlib.bezier_api#matplotlib.bezier.get_cos_sin
matplotlib.bezier.get_intersection(cx1, cy1, cos_t1, sin_t1, cx2, cy2, cos_t2, sin_t2)[source] Return the intersection between the line through (cx1, cy1) at angle t1 and the line through (cx2, cy2) at angle t2.
matplotlib.bezier_api#matplotlib.bezier.get_intersection
matplotlib.bezier.get_normal_points(cx, cy, cos_t, sin_t, length)[source] For a line passing through (cx, cy) and having an angle t, return locations of the two points located along its perpendicular line at the distance of length.
matplotlib.bezier_api#matplotlib.bezier.get_normal_points
matplotlib.bezier.get_parallels(bezier2, width)[source] Given the quadratic Bezier control points bezier2, returns control points of quadratic Bezier lines roughly parallel to given one separated by width.
matplotlib.bezier_api#matplotlib.bezier.get_parallels
matplotlib.bezier.inside_circle(cx, cy, r)[source] Return a function that checks whether a point is in a circle with center (cx, cy) and radius r. The returned function has the signature: f(xy: tuple[float, float]) -> bool
matplotlib.bezier_api#matplotlib.bezier.inside_circle
matplotlib.bezier.make_wedged_bezier2(bezier2, width, w1=1.0, wm=0.5, w2=0.0)[source] Being similar to get_parallels, returns control points of two quadratic Bezier lines having a width roughly parallel to given one separated by width.
matplotlib.bezier_api#matplotlib.bezier.make_wedged_bezier2
exceptionmatplotlib.bezier.NonIntersectingPathException[source] Bases: ValueError
matplotlib.bezier_api#matplotlib.bezier.NonIntersectingPathException
matplotlib.bezier.split_bezier_intersecting_with_closedpath(bezier, inside_closedpath, tolerance=0.01)[source] Split a Bezier curve into two at the intersection with a closed path. Parameters bezier(N, 2) array-like Control points of the Bezier segment. See BezierSegment. inside_closedpathcallable A functio...
matplotlib.bezier_api#matplotlib.bezier.split_bezier_intersecting_with_closedpath
matplotlib.bezier.split_de_casteljau(beta, t)[source] Split a Bezier segment defined by its control points beta into two separate segments divided at t and return their control points.
matplotlib.bezier_api#matplotlib.bezier.split_de_casteljau
matplotlib.bezier.split_path_inout(path, inside, tolerance=0.01, reorder_inout=False)[source] Divide a path into two segments at the point where inside(x, y) becomes False.
matplotlib.bezier_api#matplotlib.bezier.split_path_inout
matplotlib.blocking_input Classes used for blocking interaction with figure windows: BlockingInput Creates a callable object to retrieve events in a blocking way for interactive sessions. Base class of the other classes listed here. BlockingKeyMouseInput Creates a callable object to retrieve key or mouse clicks in ...
matplotlib.blocking_input_api
classmatplotlib.blocking_input.BlockingContourLabeler(cs)[source] Bases: matplotlib.blocking_input.BlockingMouseInput Callable for retrieving mouse clicks and key presses in a blocking way. Used to place contour labels. add_click(event)[source] Add the coordinates of an event to the list of clicks. Parameters ...
matplotlib.blocking_input_api#matplotlib.blocking_input.BlockingContourLabeler
add_click(event)[source] Add the coordinates of an event to the list of clicks. Parameters eventMouseEvent
matplotlib.blocking_input_api#matplotlib.blocking_input.BlockingContourLabeler.add_click