News

If you already have a plot generated with Matplotlib, activating xkcd-mode is as simple as calling a method on the pyplot ... plt.yticks([]) plt.ylabel('Downloads of "humor sans" font') plt.text ...
import matplotlib.pyplot as plt Figure and Axis Objects A figure is a base container that defines the canvas on which the plot appears. The axes object is the set of axes (usually x and y) that the ...
matplotlib inline import matplotlib.pyplot as plt import numpy as np from IPython.html.widgets import interact def plot_sine(frequency=1.0, amplitude=1.0): plt.ylim(-1.0, 1.0); x = np.linspace(0, 10, ...