Skip to content

Instantly share code, notes, and snippets.

@drazenz
Last active August 6, 2019 21:39
Show Gist options
  • Select an option

  • Save drazenz/6350ace66d0368deea2176c0870c7ba7 to your computer and use it in GitHub Desktop.

Select an option

Save drazenz/6350ace66d0368deea2176c0870c7ba7 to your computer and use it in GitHub Desktop.
ax.grid(False, 'major')
ax.grid(True, 'minor')
ax.set_xticks([t + 0.5 for t in ax.get_xticks()], minor=True)
ax.set_yticks([t + 0.5 for t in ax.get_yticks()], minor=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment