Feature request - image display #1404
Replies: 5 comments
-
I'm not sure what your asking for? Do you want different types of graph? If QChart supports it then I can't see any immediate reason why not |
Beta Was this translation helpful? Give feedback.
-
Hi @ZanderBrown |
Beta Was this translation helpful? Give feedback.
-
I'm interested in this feature request also, and I bet there is a way to do it with QtCharts. Maybe QPixmap is the way to do it https://pythonbasics.org/pyqt-qpixmap/ or maybe there is a way to link matplotlib into the existing Qt panel https://matplotlib.org/faq/usage_faq.html#how-do-i-select-pyqt4-or-pyside I can do some experimenting, but it would be great to get some hints. |
Beta Was this translation helpful? Give feedback.
-
A specialised plot might be outside of the Mu scope, but if the plot is generic enough and enough people request it we could consider its inclusion if somebody is happy to work on a PR. In the meantime the Python mode REPL uses IPython, which includes matplotlib, and as Mu comes with PySerial as well it should be possible to create a simple script to get the serial data from devices and plot it with matplotlib. |
Beta Was this translation helpful? Give feedback.
-
Oh, nice. Using matplotlib in the REPL is pretty close to what I want. I see that if I use matplotlib with Run, it works also, and opens a new window:
This is probably just fine for my intended use-case, but I'll circle back to this issue if I need more. |
Beta Was this translation helpful? Give feedback.
-
I really love the live plotting mode, it is great for basic sensor data. However I also have a use case for plotting area date, e.g. from an array sensor such as https://learn.adafruit.com/adafruit-amg8833-8x8-thermal-camera-sensor/python-circuitpython
Can this be added as a feature request?
Beta Was this translation helpful? Give feedback.
All reactions