bqplot.pyplot.show¶
-
bqplot.pyplot.
show
(key=None, display_toolbar=True)[source]¶ Shows the current context figure in the output area.
Parameters: - key (hashable, optional) – Any variable that can be used as a key for a dictionary.
- display_toolbar (bool (default: True)) – If True, a toolbar for different mouse interaction is displayed with the figure.
Raises: KeyError
– When no context figure is associated with the provided key.Examples
>>> import numpy as np >>> import pyplot as plt >>> n = 100 >>> x = np.arange(n) >>> y = np.cumsum(np.random.randn(n)) >>> plt.plot(x,y) >>> plt.show()