pyhht
pyhht copied to clipboard
y labels rotation
Hi,
it would be maybe nice to rotate by 90 degrees the y-labels, to avoid overlaps as the ones shown in the attached screenshot
Thanks again for the support.
In /pyhht/pyhht/visualization.py
I tried ax.set_ylabel(...,rotation=90)
and ...rotation='horizontal'
, but the didn't work for me ... :/
Hi @ggrrll,
From where is this place generated?
place
you mean plot ? it's generated with pyhht.plot_imfs
@ggrrll Would it be preferable if the function does no annotation of the plots at all, and returns the axis object(s) for the user to change as required?
I find very useful to know what's plotted :), so I would definitely leave the y-labels (better if rotated to avoid that)
IMO what might be helpful in addition is the passing the figsize
arg to matplotlib api.
Currently, the best way to resolve this is to make all plotting functions including plot_imfs
return the underlying axis object, which users can modify as required.