<div dir="ltr">I think this is related to <a href="https://github.com/matplotlib/matplotlib/issues/9856">https://github.com/matplotlib/matplotlib/issues/9856</a><br><div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 23, 2017 at 7:36 AM Stephen P. Molnar <<a href="mailto:s.molnar@sbcglobal.net">s.molnar@sbcglobal.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="m_8876584008145858939moz-cite-prefix">On 11/22/2017 04:40 PM, William Ray
      Wing wrote:<br>
    </div>
    <blockquote type="cite">
      
      <br>
      <br>
      <div id="m_8876584008145858939AppleMailSignature">Sent from my iPhone</div>
      <div><br>
        On Nov 22, 2017, at 4:01 PM, Stephen P. Molnar <<a href="mailto:s.molnar@sbcglobal.net" target="_blank">s.molnar@sbcglobal.net</a>>
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          
          <big><font size="-1"><big>I am running up to date Matplotlib
                in Python3.5 on my Debian Stretch Platform.</big></font></big><br>
          <br>
          I have not made any changes of which I am aware, but I have
          started getting errors when running a Python script that I
          have written to plot data obtained from a FORTRAN program. <br>
          <br>
        </div>
      </blockquote>
      <div><br>
      </div>
      <div>This like a first cousin to the problem you recently posted
        on the Tutor list.  Do you get the same result if you invoke the
        script directly from the command line, i.e. </div>
      <div><br>
      </div>
      <div>$python <span style="background-color:rgba(255,255,255,0)">MolT_5IMT_w_3_2_plot.py<return></span></div>
      <div><br>
      </div>
      And not in iPython or Whatever?
      <div><br>
      </div>
      <div>Bill<br>
        <blockquote type="cite">
          <div> Enter Molecule ID: A<br>
            Traceback (most recent call last):<br>
              File "MolT_5IMT_w_3_2_plot.py", line 83, in <module><br>
                fig.savefig(name_plt,bbox_inches='tight')<br>
              File
            "/usr/local/lib/python3.5/dist-packages/matplotlib/figure.py",
            line 1814, in savefig<br>
                self.canvas.print_figure(fname, **kwargs)<br>
              File
            "/usr/local/lib/python3.5/dist-packages/matplotlib/backend_bases.py",
            line 2180, in print_figure<br>
                self.figure.dpi = dpi<br>
              File
            "/usr/local/lib/python3.5/dist-packages/matplotlib/figure.py",
            line 436, in _set_dpi<br>
                self.set_size_inches(w, h, forward=forward)<br>
              File
            "/usr/local/lib/python3.5/dist-packages/matplotlib/figure.py",
            line 745, in set_size_inches<br>
                manager.resize(int(canvasw), int(canvash))<br>
              File
            "/usr/local/lib/python3.5/dist-packages/matplotlib/backends/backend_tkagg.py",

            line 540, in resize<br>
                self.canvas._tkcanvas.master.geometry("%dx%d" % (width,
            height))<br>
              File "/usr/lib/python3.5/tkinter/__init__.py", line 1698,
            in wm_geometry<br>
                return self.tk.call('wm', 'geometry', self._w,
            newGeometry)<br>
            _tkinter.TclError: can't invoke "wm" command: application
            has been destroyed<br>
            <br>
            <br>
            ------------------<br>
            (program exited with code: 1)<br>
            Press return to continue<br>
            <br>
            I have attached the Python script and an input file to this
            message.<br>
            <br>
            I would appreciate some assistance in solving this problem<br>
            <br>
            Thanks in advance.<br>
            <pre class="m_8876584008145858939moz-signature" cols="72">-- 
Stephen P. Molnar, Ph.D.                Life is a fuzzy set
<a class="m_8876584008145858939moz-txt-link-abbreviated" href="http://www.molecular-modeling.net" target="_blank">www.molecular-modeling.net</a>              Stochastic and multivariate
<a href="tel:(614)%20312-7528" value="+16143127528" target="_blank">(614)312-7528</a> (c)
Skype: smolnar1
</pre>
          </div>
        </blockquote>
        <blockquote type="cite">
          <div><MultiplePlots_3.py></div>
        </blockquote>
        <blockquote type="cite">
          <div><A_P></div>
        </blockquote>
        <blockquote type="cite">
          <div><span>_______________________________________________</span><br>
            <span>Matplotlib-users mailing list</span><br>
            <span><a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a></span><br>
            <span><a href="https://mail.python.org/mailman/listinfo/matplotlib-users" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a></span><br>
          </div>
        </blockquote>
      </div>
    </blockquote></div><div bgcolor="#FFFFFF" text="#000000">
    I get exactly the same messages as soon as I close the plot.</div><div bgcolor="#FFFFFF" text="#000000"><br>
    <pre class="m_8876584008145858939moz-signature" cols="72">-- 
Stephen P. Molnar, Ph.D.                Life is a fuzzy set
<a class="m_8876584008145858939moz-txt-link-abbreviated" href="http://www.molecular-modeling.net" target="_blank">www.molecular-modeling.net</a>              Stochastic and multivariate
<a href="tel:(614)%20312-7528" value="+16143127528" target="_blank">(614)312-7528</a> (c)
Skype: smolnar1
</pre>
  </div>

_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br>
</blockquote></div>