WrightTools.artists.plot_gridlines

WrightTools.artists.plot_gridlines(ax=None, c='grey', lw=1, diagonal=False, zorder=2, makegrid=True)[source]

Plot dotted gridlines onto an axis.

Parameters:
  • ax (matplotlib AxesSubplot object (optional)) – Axis to add gridlines to. If None, uses current axis. Default is None.
  • c (matplotlib color argument (optional)) – Gridline color. Default is grey.
  • lw (number (optional)) – Gridline linewidth. Default is 1.
  • diagonal (boolean (optional)) – Toggle inclusion of diagonal gridline. Default is False.
  • zorder (number (optional)) – zorder of plotted grid. Default is 2.