All Questions
1,096 questions
0
votes
1
answer
27
views
tkinter resizes when adding matplotlib to reserverd space
I have a gui with an empty tk.Canvas widget which I want to fill during runtime with a matplotlib plot.
However, when adding the plot, it forces the gui to use the plot size instead of using the ...
1
vote
3
answers
69
views
Ways to prevent tkinter from opening a graph on each plot drawn/draw in a selected frame?
I am working on a python tkinter GUI, for plotting/modifying plots for device calibration and data analysis. Basically, I want to list various columns of data and then select regions of said data for ...
0
votes
1
answer
46
views
Gui to view matplotlib figure with forward and backward button
I want to build a GUI to view matplotlib figures with forward and backward buttons.
GUI is just similar to view images.
To an extent, I could get the results I need.
The problem is: that when I use ...
0
votes
0
answers
32
views
Changing matplotlib backend to Qt alters system DPI in Jupyter Notebook
For some quick background, I have tested this on a 4K monitor (28 inch diagonal) at 200% scaling, and a 1920x1200 monitor (16 inch diagonal) with 125% scaling, both have the same behavior. All of this ...
0
votes
0
answers
39
views
Python 3D Graph - how to make the plot interactive?
OSX 12.7 Python 3
I have a Python script that I have set the default Open with: Python Launcher 3.app
The file is a Plot3D-V2.py, it runs quickly but in order to update it I have to constantly rerun ...
-1
votes
1
answer
69
views
Tkinter gui widgets resized after including matlab plot function
I am trying to use a GUI for button and plot.
When I include show_graph() function inside tabss the window is resized, also widgets and text resized to smaller.
import matplotlib.pyplot as plt
from ...
0
votes
0
answers
36
views
Issue with updating plot in tkinter TopLevel using matplotlib FigureCanvasTkAgg
I am trying to use below code to update the plot in matplotlib FigureCanvasTkAgg embedded in tkinter TopLevel window.
import tkinter as tk
from matplotlib.backends.backend_tkagg import (...
0
votes
1
answer
63
views
Vertically scroll multiple plots in Tkinter
I would like to draw multiple plots with Matplotlib, add them to a Tkinter frame (stack them one below the other), and be able to scroll vertically between the plots.
Each plot shold fill the x-...
2
votes
1
answer
100
views
How can I change a Matplotlib colormap dynamically and get its range and labels updated?
I have an application where I want to change the colors used to map a plot with (x,y,z) points dynamically. I created the following to demonstrate the basic idea.
import matplotlib.pyplot as plt
...
0
votes
0
answers
31
views
Mathplotlib FuncAnimate in tkinter Window
I have a Question concerning putting a Mathplotlib Animation in a Tkinter window. I have found a few answers, but they all seem to be using much more difficult plots.
I have this really easy Plot, ...
0
votes
0
answers
26
views
Combine tk GUI and matplotlib with macosx backend without getting SIGSEGV?
I have written a small app which uses a tk GUI to allow the user to enter their parameters, then plots the results of using matplotlib. I would like the user to be able to do this repeatedly without ...
0
votes
2
answers
57
views
Is there a way that I could switch plotting methods using a button in Tkinter?
I know this is a long shot, but I have an application that would plot n spectra (counts per energy) and I want to have the option to visualise them as normal spectra or histograms.
Is there a way that ...
1
vote
1
answer
56
views
Tkinter and matplotlib - NavigationToolbar2Tk - cursor position precision
I have a Matplotlib figure in Tkinter canvas with a NavigationToolbar2Tk below.
When the mouse is on the canvas area, the toolbar automatically displays the (x, y) coordinates on the right hand side ...
0
votes
1
answer
47
views
matplotlib graph open : the tkinter variables are not correctly updated
In the program bellow, I open a graph with matplotlib (here in the example nothing appears, but anyway, the problem is not that). In the corner (left bottom), there is a button to add cursors to the ...
0
votes
1
answer
66
views
Load 2 Tkinter windows simultaneously. one with animation
The following script runs standalone to run a scenario:
The results are printed first, followed by the plot is closed with an animation.
import numpy as np
import matplotlib.pyplot as plt
import ...