Releases: mpl-extensions/mpl-interactions
Releases · mpl-extensions/mpl-interactions
0.16.1
0.16.0
Hyperslicer support for vmin_vmax
%matplotlib widget
import numpy as np
import matplotlib.pyplot as plt
import mpl_interactions.ipyplot as iplt
from mpl_interactions import hyperslicer
arr = np.random.randn(5, 100,100)
fig, axs = plt.subplots(1,2)
ctrls = hyperslicer(arr, ax=axs[0], vmin_vmax=("r", arr.min(), arr.max()))
def f(axis0):
return arr[axis0].flatten()
_ = iplt.hist(f, controls = ctrls['axis0'], ax=axs[1])
_ = iplt.axvline(ctrls['vmin'],ax = axs[1], color='k')
_ = iplt.axvline(ctrls['vmax'],ax = axs[1], color='k')
0.15.0
0.14.2
0.14.1
0.14.0
0.13.1
0.13.0
0.12.0
0.11.0
bug fixes:
image_segmenter
wasn't making use of the cmap
argument. Now all kwargs are passed through to imshow
. Thanks to @stefanopiovesan for finding this bug. #135
Improvements:
image_segmenter
now allows styling of the lineprops for the lasso selector.
All the above is documented here: https://mpl-interactions.readthedocs.io/en/latest/examples/image-segmentation.html#Styling