<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processorsのトピックmatplotlib under Yocto to display result</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/matplotlib-under-Yocto-to-display-result/m-p/807460#M124590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use matplotlib and display result, I have yocto based image with xWayland backend (fsl-image-qt5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import numpy as np&lt;BR /&gt;import matplotlib.pyplot as plt&lt;/P&gt;&lt;P&gt;x = np.linspace(-np.pi, np.pi, 256, endpoint=True)&lt;BR /&gt;c, s = np.cos(X), np.sin(X)&lt;/P&gt;&lt;P&gt;plt.plot(x, c)&lt;BR /&gt;plt.plot(x, s)&lt;/P&gt;&lt;P&gt;plt.show()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running this script plot is not displayed. How to make it display window?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2018 18:56:11 GMT</pubDate>
    <dc:creator>erikraynolds</dc:creator>
    <dc:date>2018-11-27T18:56:11Z</dc:date>
    <item>
      <title>matplotlib under Yocto to display result</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/matplotlib-under-Yocto-to-display-result/m-p/807460#M124590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use matplotlib and display result, I have yocto based image with xWayland backend (fsl-image-qt5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import numpy as np&lt;BR /&gt;import matplotlib.pyplot as plt&lt;/P&gt;&lt;P&gt;x = np.linspace(-np.pi, np.pi, 256, endpoint=True)&lt;BR /&gt;c, s = np.cos(X), np.sin(X)&lt;/P&gt;&lt;P&gt;plt.plot(x, c)&lt;BR /&gt;plt.plot(x, s)&lt;/P&gt;&lt;P&gt;plt.show()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running this script plot is not displayed. How to make it display window?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 18:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/matplotlib-under-Yocto-to-display-result/m-p/807460#M124590</guid>
      <dc:creator>erikraynolds</dc:creator>
      <dc:date>2018-11-27T18:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: matplotlib under Yocto to display result</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/matplotlib-under-Yocto-to-display-result/m-p/807461#M124591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erik Raynolds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matplot is not part of the i.MX BSP so I haven’t tested it but I would recommend first making sure that matplot is compatible with Wayland as the problem may be that the library is not reaching the backend. Maybe the matplot documentation or matplot related forums may be useful to check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2018 18:25:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/matplotlib-under-Yocto-to-display-result/m-p/807461#M124591</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2018-12-05T18:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: matplotlib under Yocto to display result</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/matplotlib-under-Yocto-to-display-result/m-p/807462#M124592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So assuming yes it's part of - since I just added to local.conf and is within python ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2018 12:50:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/matplotlib-under-Yocto-to-display-result/m-p/807462#M124592</guid>
      <dc:creator>erikraynolds</dc:creator>
      <dc:date>2018-12-06T12:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: matplotlib under Yocto to display result</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/matplotlib-under-Yocto-to-display-result/m-p/807463#M124593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erik! Sorry for replying on old post, but I'm having similar issue using Qt5Agg backend and Yocto on i.MX7. I tried Matplotlib, pyqtchart and pyqtgraph, but neither of them display the plot. Matplotlib just have white area instead of the plot (but window and Toolbar is displayed ok), QChart display's line series sometimes (not properly scaled though) but no axes, pyqtgraph just crashes. On the other hand QChart from qml app works fine. I'm using pure samples from documentation of corresponding libraries. They all tested to work under Ubuntu 18.04, but fail on i.MX7. Have you had any luck to solve your issue? If yes, do you recall what was the reason?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 08:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/matplotlib-under-Yocto-to-display-result/m-p/807463#M124593</guid>
      <dc:creator>timofey_babitsk</dc:creator>
      <dc:date>2020-02-21T08:50:04Z</dc:date>
    </item>
  </channel>
</rss>

