Open isentropic opened 3 years ago
Maybe title = :auto
is more consistent with the existing interface?
In proplot, these letters are not titles, they are like annotations at the corners, titles are still free to the user. But perhaps for simplicity, we can restrict it to titles with right or left alignment. This way positioning across backends would be easier.
So for example they have
axs.format(
suptitle='Format command demo',
abc=True, abcloc='ul', abcstyle='A.',
title='Main', ltitle='Left', rtitle='Right', # different titles
urtitle='Title A', lltitle='Title B', lrtitle='Title C', # extra titles
collabels=['Column label 1', 'Column label 2'],
rowlabels=['Row label 1', 'Row label 2'],
xlabel='x-axis', ylabel='y-axis',
xscale='log',
xlim=(1, 10), xticks=1,
ylim=(-3, 3), yticks=plot.arange(-3, 3),
yticklabels=('a', 'bb', 'c', 'dd', 'e', 'ff', 'g'),
ytickloc='both', yticklabelloc='both',
xtickdir='inout', xtickminor=False, ygridminor=True,
)
From https://proplot.readthedocs.io/en/latest/basics.html
We could also have
abc=true
option to insert a b c labels for each subplot. I feel this would be very useful for publishing