MCPcopy Create free account
hub / github.com/NatLabRockies/windtools / _align_labels

Function _align_labels

windtools/plotting.py:2004–2013  ·  view source on GitHub ↗

Align labels of a given axes grid

(fig,ax,nrows,ncols)

Source from the content-addressed store, hash-verified

2002
2003
2004def _align_labels(fig,ax,nrows,ncols):
2005 """
2006 Align labels of a given axes grid
2007 """
2008 # Align xlabels row by row
2009 for r in range(nrows):
2010 fig.align_xlabels(ax[r*ncols:(r+1)*ncols])
2011 # Align ylabels column by column
2012 for c in range(ncols):
2013 fig.align_ylabels(ax[c::ncols])
2014
2015
2016def reference_lines(x_range, y_start, slopes, line_type='log'):

Callers 4

plot_timeheightFunction · 0.85
plot_profileFunction · 0.85
plot_spectrumFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected