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

Subscripts and superscripts not saving in .tiff files #1877

Closed
jamiebull1 opened this issue Apr 1, 2013 · 3 comments
Closed

Subscripts and superscripts not saving in .tiff files #1877

jamiebull1 opened this issue Apr 1, 2013 · 3 comments

Comments

@jamiebull1
Copy link

I'm trying to create a .tiff with axis labels which include sub and superscript notation. I've used the $ notation $kgCO_2e/m^2$' to enclose the label and it shows up fine in the interactive output. It also saves as expected when saved to .png. However when saving to .tiff it shows up as the full text kgCO_2e/m^2.

The following snippet reproduces the problem.

import matplotlib.pyplot as plt

xs = [1,2]
ys = [2,3]
fig = plt.figure(figsize=(9,7))
ax1 = fig.add_subplot(111)
ax1.plot(xs, ys)
ax1.set_ylabel('$kgCO_2e/m^2$')
plt.show()
@mdboom
Copy link
Member

mdboom commented Apr 1, 2013

Which backend are you using?

@jamiebull1
Copy link
Author

WXAgg

@dmcdougall
Copy link
Member

Looks like this was fixed by #1770.

@jamiebull1 If I am mistaken, please feel free to reopen this issue.

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

3 participants