GPy.plotting.matplot_dep.controllers package¶
Submodules¶
GPy.plotting.matplot_dep.controllers.axis_event_controller module¶
Created on 24 Jul 2013
@author: maxz
-
class
AxisChangedController
(ax, update_lim=None)[source]¶ Bases:
GPy.plotting.matplot_dep.controllers.axis_event_controller.AxisEventController
Buffered control of axis limit changes
Constructor
-
class
BufferedAxisChangedController
(ax, plot_function, plot_limits, resolution=50, update_lim=None, **kwargs)[source]¶ Bases:
GPy.plotting.matplot_dep.controllers.axis_event_controller.AxisChangedController
Buffered axis changed controller. Controls the buffer and handles update events for when the axes changed.
Updated plotting will be after first reload (first time will be within plot limits, after that the limits will be buffered)
Parameters: - plot_function (function) – function to use for creating image for plotting (return ndarray-like) plot_function gets called with (2D!) Xtest grid if replotting required
- plot_limits – beginning plot limits [xmin, ymin, xmax, ymax]
- kwargs – additional kwargs are for pyplot.imshow(**kwargs)
GPy.plotting.matplot_dep.controllers.imshow_controller module¶
Created on 24 Jul 2013
@author: maxz
-
class
ImAnnotateController
(ax, plot_function, plot_limits, resolution=20, update_lim=0.99, imshow_kwargs=None, **kwargs)[source]¶ Bases:
GPy.plotting.matplot_dep.controllers.imshow_controller.ImshowController
Parameters: - plot_function (function) – function to use for creating image for plotting (return ndarray-like) plot_function gets called with (2D!) Xtest grid if replotting required
- plot_limits – beginning plot limits [xmin, ymin, xmax, ymax]
- text_props – kwargs for pyplot.text(**text_props)
- kwargs – additional kwargs are for pyplot.imshow(**kwargs)
-
class
ImshowController
(ax, plot_function, plot_limits, resolution=50, update_lim=0.9, **kwargs)[source]¶ Bases:
GPy.plotting.matplot_dep.controllers.axis_event_controller.BufferedAxisChangedController
Parameters: - plot_function (function) – function to use for creating image for plotting (return ndarray-like) plot_function gets called with (2D!) Xtest grid if replotting required
- plot_limits – beginning plot limits [xmin, ymin, xmax, ymax]
- kwargs – additional kwargs are for pyplot.imshow(**kwargs)