Dear all,

I have a problem with exporting polar plots to SVG. When attached to
axes which are not centered in the figure, the content (grids, data,
etc.) seems not to be shifted correctly with the axes. However, when I
plot it directly to the screen or export to PNG everything is fine.

Here is an example reproducing this error:

import matplotlib.pyplot as plt
import numpy as np

fig = plt.figure()
ax = fig.add_axes([0.4, 0.4, 0.25, 0.25], polar=True)

theta1 = np.pi/4
ax.plot([theta1, theta1], [0, 1], '-')

plt.savefig('test_polar.svg')
plt.savefig('test_polar.png')
plt.show()

I was able to reproduce the problem it in matplotlib  0.99.0 (Backend:
GTKAgg).


Cheers,

Bartosz


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to