How can we disable particular option "csv from plot data" while exporting the plot data?

56 views
Skip to first unread message

Yuñ Solutions

unread,
Jul 12, 2017, 12:40:59 AM7/12/17
to pyqtgraph
I would like to remove that option. Any help is much appreciated. 
Capture.PNG

vas...@gmail.com

unread,
Jul 12, 2017, 5:55:27 AM7/12/17
to pyqt...@googlegroups.com
The dirty trick is to comment out one line in your pyqtgraph installation.
Edit /your-python-installation-directory/Lib/site-packages/pyqtgraph/exporters/__init__.py and comment out 6th row, so the file will now look as:
from .Exporter import Exporter
from .ImageExporter import *
from .SVGExporter import *
from .Matplotlib import *
# from .CSVExporter import *
from .PrintExporter import *
from .HDF5Exporter import *

def listExporters():
return Exporter.Exporters[:]

On Wed, Jul 12, 2017 at 6:40 AM, Yuñ Solutions <yunsolut...@gmail.com> wrote:
I would like to remove that option. Any help is much appreciated. 

--
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 pyqtgraph+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/4d376d78-5c1f-43ed-93c9-dc1ae7f41da1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yuñ Solutions

unread,
Jul 12, 2017, 12:40:28 PM7/12/17
to pyqtgraph
Works great for me. Thank you very much. 

On Wednesday, July 12, 2017 at 3:25:27 PM UTC+5:30, Vasilije Mehandzic wrote:
The dirty trick is to comment out one line in your pyqtgraph installation.
Edit /your-python-installation-directory/Lib/site-packages/pyqtgraph/exporters/__init__.py and comment out 6th row, so the file will now look as:
from .Exporter import Exporter
from .ImageExporter import *
from .SVGExporter import *
from .Matplotlib import *
# from .CSVExporter import *
from .PrintExporter import *
from .HDF5Exporter import *

def listExporters():
return Exporter.Exporters[:]
On Wed, Jul 12, 2017 at 6:40 AM, Yuñ Solutions <yunsolut...@gmail.com> wrote:
I would like to remove that option. Any help is much appreciated. 

--
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 pyqtgraph+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages