plot_tricks
File Purpose: misc tricks related to plotting
stuff that’s sometimes easy to forget, but super useful if you remember it.
Functions
|
|
|
draw a box around the axes |
|
remove ticklabels from the axes (but don't remove ticks)! |
|
remove ticks from the axes! |
|
draw a box around the figure |
|
return list of all colorbar axes on the figure (current figure if fig is None). |
|
get the minimum number of ticks on this axes (current axes if None provided). |
|
dict of xy=(x,y) in axes coordinates (0=left/bottom, 1=right/top) for various locations; |
|
add this note to the current plot at the indicated position. |
|
simple result useful for 'transform' kwarg for plotting functions. |
|
set the minimum number of ticks on this axes (current axes if None provided). |
|
tell log-scaled axes of ax to use SimpleLogTickLocator. |
|
simple tick formatter, changes tick names from val to f(val). |
Classes
|
simple LogLocator: puts base^N for every next power of base. |