Hi all,

I regularly use SVG export to produce nice-looking PDFs from Pyqtgraph. I 
ran into a problem with text containing a superscript. In the exported SVG, 
the superscript isn't in the right place. See attached minimum example and 
output. Any debugging pointers appreciated. I am using Python 3.5.2, 
Pyqtgraph version 0.10.0, PyQt4 with Qt version 4.8.7, PyQt version 4.11.4.

Thanks,

Dane

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/b324144b-0eb5-4f97-98a8-9a17e265150a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
import pyqtgraph as pg
import pyqtgraph.exporters as pgex
plot=pg.PlotWidget(title='some quantity in units of 10<sup>5</sup>')
plot.show()
exp=pgex.SVGExporter(plot.plotItem)
exp.export('contains_superscript.svg')

Reply via email to