pyplot.subplots creates a figure and a grid of subplots with a single call, while providing reasonable control over how the individual plots are created. For more advanced use cases you can use GridSpec for a more general subplot layout or Figure.add_subplot for adding subplots at arbitrary locations within the figure. https://matplotlib.org/stable/gallery/subplots_axes_and_figures/subplots_demo.html matplotlib.pyplot.subplots matplotlib.pyplot.subplots(nrows=1, ncols=1, *, sharex=False, sharey=False, squeeze=True, subplot_kw=None, gridspec_kw=None, **fig_kw) Returns: fig: The matplotlib.pyplot.figure object to be used as a container for all the subplots.

Continue reading

You can change your nudge increments distance in the Preferences Panel(Keyboard increments). Setting nudge distance/keyboard increment Uncheck snap to pixel in the view tab Change the keyboard increment in the Edit tab ->preference from 1 pixel(by fault) to a tiny one which you want. Tip also: the super nudge is a 10-times shift by holding the shift when using the arrow key.

Continue reading

Author's picture

Kai Li (李锴)

PhD candidate of Environmental Sciences, Leiden University

Leiden University

the Netherlands