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

Escaping \% in contourp() #49

Closed
AstroRobin opened this issue Jun 22, 2020 · 1 comment
Closed

Escaping \% in contourp() #49

AstroRobin opened this issue Jun 22, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AstroRobin
Copy link
Collaborator

in splotch.contourp(), the following lines need a check for the 'usetex' rcParam from matplotlib as to whether the percentage symbol should be escaped or not.

if plabel is None:
	plabel=[f'{round(p,1)}\%' for p in percent]
@AstroRobin AstroRobin added the bug Something isn't working label Jun 22, 2020
@MBravoS
Copy link
Owner

MBravoS commented Jun 23, 2020

Fixed now on the current 0.5.0.0 on the devel branch.

@MBravoS MBravoS closed this as completed Jun 23, 2020
@MBravoS MBravoS added this to Done in Modifications to current code via automation Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants