Dear Sandro, Apologies for forgetting about this. I was prompted to look into it again by (a) Bullseye having a minor update (but the bug is unchanged) and (b) I have time over the summer to think about these things.
The code example earlier in the bug emits the error messages in the attached plain text file. (As run, the example had five extra blank/comment lines at the start including a #! line, compared to the text posted in the original bug report. But the error messages do not seem to refer to any line numbers in my own file.) Best wishes Hugh Pumphrey On Mon, 18 Oct 2021 at 02:47, Sandro Tosi <mo...@debian.org> wrote: > > to switch to a different backend. I include an example below which > triggers > > a slew of Tk error messages, although the output seems correct. Sometimes > > can you include the output of that code as run on your system? > > -- > Sandro "morph" Tosi > My website: http://sandrotosi.me/ > Me at Debian: http://wiki.debian.org/SandroTosi > Twitter: https://twitter.com/sandrotosi >
Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.9/tkinter/__init__.py", line 1892, in __call__ return self.func(*args) File "/usr/lib/python3.9/tkinter/__init__.py", line 814, in callit func(*args) File "/usr/lib/python3/dist-packages/matplotlib/backends/_backend_tk.py", line 253, in idle_draw self.draw() File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw super(FigureCanvasTkAgg, self).draw() File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/usr/lib/python3/dist-packages/matplotlib/backend_bases.py", line 1544, in _draw def _draw(renderer): raise Done(renderer) matplotlib.backend_bases._get_renderer.<locals>.Done: <matplotlib.backends.backend_agg.RendererAgg object at 0x7f9a7fa4cbe0> Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.9/tkinter/__init__.py", line 1892, in __call__ return self.func(*args) File "/usr/lib/python3/dist-packages/matplotlib/backends/_backend_tk.py", line 242, in resize self.draw() File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw super(FigureCanvasTkAgg, self).draw() File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/usr/lib/python3/dist-packages/matplotlib/backend_bases.py", line 1544, in _draw def _draw(renderer): raise Done(renderer) matplotlib.backend_bases._get_renderer.<locals>.Done: <matplotlib.backends.backend_agg.RendererAgg object at 0x7f9a7fa4cbe0> Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.9/tkinter/__init__.py", line 1892, in __call__ return self.func(*args) File "/usr/lib/python3.9/tkinter/__init__.py", line 814, in callit func(*args) File "/usr/lib/python3/dist-packages/matplotlib/backends/_backend_tk.py", line 253, in idle_draw self.draw() File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw super(FigureCanvasTkAgg, self).draw() File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/usr/lib/python3/dist-packages/matplotlib/backend_bases.py", line 1544, in _draw def _draw(renderer): raise Done(renderer) matplotlib.backend_bases._get_renderer.<locals>.Done: <matplotlib.backends.backend_agg.RendererAgg object at 0x7f9a7fa4cbe0>