-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tick label size adjustment #339
Comments
@lee1043 this is controlled via the template. I really need to do the notebook for template! import vcs
templ = vcs.createtemplate()
to = vcs.createtextorientation()
to.height=20. # BIG!
templ.xlabel1.textorientation = to
x.plot(data,templ) |
@doutriaux1 thanks, what about tick label over the color bar? |
templ.legend.textoriention = To |
@doutriaux1 thanks, it is helpful. Do you have something similar for xticlabel1 location adjustment? On left side labels are overlapping with line. |
templ.list() # Shows all attributes you can set
templ.ylabel1.list() # for left labels
templ.ylabel1.x -= .05 # move a bit more to the left |
@lee1043 you also can control the horizontal alignemnt of your label, I think that it is your issue here to.list()
to.halign= "right" |
@doutriaux1 issue solved. Thanks a lot! |
@doutriaux1 one more question, can I move colarbar labels upward, so give some distance between numbers and colorbar? |
templ.legend.y1 + =.05
templ.legend.y2 + =.05 |
@lee1043 sorry what you want is: templ.legend.offset += .05 |
@doutriaux1 but that moves colorbar itself. I want to fix colorbar but only move legend numbers above colorbar to upward, so bottom of numbers don't meet the upper line of colorbar |
@doutriaux1 yes, thanks! |
Is there any simple way to adjust font size for the tick labels, such as something like
iso.xticklabels1.fontsize=10
? I am struggling with too small font size for x,y tick labels and legend labels, couldn't find option to control the font size. Thanks!The text was updated successfully, but these errors were encountered: