mpl_interactions.heatmap_slicer¶
-
mpl_interactions.
heatmap_slicer
(X, Y, heatmaps, slices='horizontal', heatmap_names=None, max_cols=None, figsize=18, 9, linecolor='k', labels='X', 'Y', interaction_type='move')¶ - Parameters
- X,Y1D array
- heatmapsarray_like
must be 2-D or 3-D. If 3-D the last two axes should be (X,Y)
- slice{‘horizontal’, ‘vertical’, ‘both’}
Direction to draw slice on heatmap. both will draw horizontal and vertical traces on the same plot, while both_separate will make a line plot for each.
- heatmap_names(String, String, …)
An iterable with the names of the heatmaps. If provided it must have as many names as there are heatmaps
- max_colsint, optional - not working yet :(
Maximum number of columns to allo
- axmatplolibt.Axes or None
axes on which to
- y_scalestring or tuple of floats, optional
If a tuple it will be passed to ax.set_ylim. Other options are: ‘auto’: rescale the y axis for every redraw ‘stretch’: only ever expand the ylims.
- slider_format_stringstring
A valid format string, this will be used to render the current value of the parameter
- plot_kwargsNone, dict, or iterable of dicts
Keyword arguments to pass to plot. If using multiple f’s then plot_kwargs must be either None or be iterable.l figure size to pass to plt.subplots
- labels(string, string), optional
- interaction_typestr
Update on mouse movement or mouse click. Options are {‘move’,’click’}
- Returns
- figmatplotlib figure
- axtuple of axes