Skip to content
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

Spaces in colorbar annotation #391

Closed
Nasuyo opened this issue Jan 17, 2020 · 2 comments
Closed

Spaces in colorbar annotation #391

Nasuyo opened this issue Jan 17, 2020 · 2 comments

Comments

@Nasuyo
Copy link

Nasuyo commented Jan 17, 2020

Hello and thanks for the great work! I have a small request of which I'm not sure if I'm just missing something easy or if it's just not implemented.

Is there already a convenient way to make a colorbar annotation with more than 1 word, i.e. spaces in it? Right now when I use e.g. fig.colorbar(frame='paf+lheight[m]'), I cannot just make a space between height and [m]:
GMTCLibError: Module 'colorbar' failed with status code 71:
colorbar [ERROR]: Syntax error: No input files are allowed.

Best Regards,
Stefan

@welcome
Copy link

welcome bot commented Jan 17, 2020

👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our contributing guidelines and code of conduct.

@seisman
Copy link
Member

seisman commented Jan 17, 2020

That's a known issue. Currently, you have to enclose the string with quotes, e.g.

frame='paf+l"height [m]"'

Closed as duplicate of #247.

@seisman seisman closed this as completed Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants