Skip to content

Instantly share code, notes, and snippets.

@darthsuogles
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save darthsuogles/38d141f2874e431d563c to your computer and use it in GitHub Desktop.

Select an option

Save darthsuogles/38d141f2874e431d563c to your computer and use it in GitHub Desktop.
Working with matplotlib
# Do not use ax.set_xticks([]), instead
ax.get_xaxis().set_visible(False);
# When having a bunch of plots in a grid (via subplots or gridspec),
# we can plot the title as the ylabel of the left-most plot.
# http://matplotlib.org/users/text_props.html
ax.set_ylabel('<text_of_the_title>', rotation = 'horizontal', horizontalalignment = 'right');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment