after a long time searching i did not find any solution to set matplot with toolbar on qml window as a component
i've tried load matplotlib on an image component like this: Python: matplotlib plot inside QML layout
but i need the toolbar
thanks in advance
Related
I am trying to create a Candlestick chart using PySimpleGUI and display it in a Canvas. I am having trouble finding an example of how to do this. I have tried using Matplotlib and Plotly but have encountered errors. I would like to know if anyone has successfully created a Candlestick chart using PySimpleGUI Canvas and could share their code or point me in the right direction. Tried many ways with pysimplegui, none worked.
In my app I am easily able animate to move an image in kivy but not able to scale it in size using animate property. Can any one show an example how to do that. Please
I've been making an application that uses matplotlib to make a line graph, but the issue I've been having is that when I try and hover over the graph, it is a static image that I can pan around, but I'm unable to get the values on my graph when I hover my mouse. I'm not looking to make a scatter graph, but a line graph that annotates over the values when I hover my mouse over it. I understand that matplotlib graphs can be made interactive with Dash/Plotly, but the issue is that they only work on webapps, and I am looking for a way to make my mpl graph look more like a plotly one on a Tk GUI app. Any way that this is possible?
The idea would be that you'd have some 2D library for your GUI like PyGame and then draw the plots into the window generated by the library instead of an independent window generated by matplotlib. Allowing for user input and plot viewing in the same window.
I don't have any specific 2D library in mind, I'm not super familiar with Python libraries.
The only way I could find is by saving the plots to a file and then rendering that, but that seems extremely costly for real-time rendering (which is what I'm considering).
You can embed a plot from matplotlib into a tkinter app, check out their documentation here!
https://matplotlib.org/3.1.0/gallery/user_interfaces/embedding_in_tk_sgskip.html
Tkinter is a built-in package with cross platform support.
Is there a way to display a generated 3D mesh (.ply file) as a kivy widget inside a window (and possibly control it)?