<?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>topic Problem with matplotlib in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081065#M272</link>
    <description>&lt;P&gt;I am a user of latest version of intel distribution for python. But I find problem of using matplotlib.&lt;/P&gt;

&lt;P&gt;My OS is Ubuntu 64bit 16.04. Because I don't like the default backend of matplotlib, so I chang it from WebAgg to Qt4Agg and I get the flowing error messages:&lt;/P&gt;

&lt;P&gt;-------------------------------------------&lt;/P&gt;

&lt;P&gt;(idp) colafish@Dell:~$ python&lt;BR /&gt;
	Python 2.7.12 |Intel Corporation| (default, Aug 15 2016, 04:18:18)&amp;nbsp;&lt;BR /&gt;
	[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux2&lt;BR /&gt;
	Type "help", "copyright", "credits" or "license" for more information.&lt;BR /&gt;
	Intel(R) Distribution for Python is brought to you by Intel Corporation.&lt;BR /&gt;
	Please check out: &lt;A href="https://software.intel.com/en-us/python-distribution" target="_blank"&gt;https://software.intel.com/en-us/python-distribution&lt;/A&gt;&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt; import matplotlib.pyplot as plt&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt; plt.plot()&lt;BR /&gt;
	Fontconfig error: Cannot load default config file&lt;BR /&gt;
	GLib-GIO-Message: Using the 'memory' GSettings backend. &amp;nbsp;Your settings will not be saved or shared with other applications.&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: Loading IM context type 'fcitx' failed&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: Loading IM context type 'fcitx' failed&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: Loading IM context type 'fcitx' failed&lt;BR /&gt;
	[]&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt; plot.show()&lt;BR /&gt;
	Traceback (most recent call last):&lt;BR /&gt;
	&amp;nbsp; File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;
	NameError: name 'plot' is not defined&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt; plt.show()&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;-------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I install intel distribution for python using conda.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I install idp on the latest version debian, I got the "&lt;/SPAN&gt;Fontconfig error: Cannot load default config file" too.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2016 07:08:17 GMT</pubDate>
    <dc:creator>guo_z_</dc:creator>
    <dc:date>2016-09-19T07:08:17Z</dc:date>
    <item>
      <title>Problem with matplotlib</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081065#M272</link>
      <description>&lt;P&gt;I am a user of latest version of intel distribution for python. But I find problem of using matplotlib.&lt;/P&gt;

&lt;P&gt;My OS is Ubuntu 64bit 16.04. Because I don't like the default backend of matplotlib, so I chang it from WebAgg to Qt4Agg and I get the flowing error messages:&lt;/P&gt;

&lt;P&gt;-------------------------------------------&lt;/P&gt;

&lt;P&gt;(idp) colafish@Dell:~$ python&lt;BR /&gt;
	Python 2.7.12 |Intel Corporation| (default, Aug 15 2016, 04:18:18)&amp;nbsp;&lt;BR /&gt;
	[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux2&lt;BR /&gt;
	Type "help", "copyright", "credits" or "license" for more information.&lt;BR /&gt;
	Intel(R) Distribution for Python is brought to you by Intel Corporation.&lt;BR /&gt;
	Please check out: &lt;A href="https://software.intel.com/en-us/python-distribution" target="_blank"&gt;https://software.intel.com/en-us/python-distribution&lt;/A&gt;&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt; import matplotlib.pyplot as plt&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt; plt.plot()&lt;BR /&gt;
	Fontconfig error: Cannot load default config file&lt;BR /&gt;
	GLib-GIO-Message: Using the 'memory' GSettings backend. &amp;nbsp;Your settings will not be saved or shared with other applications.&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: Loading IM context type 'fcitx' failed&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: Loading IM context type 'fcitx' failed&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)&lt;/P&gt;

&lt;P&gt;(python:15563): Gtk-WARNING **: Loading IM context type 'fcitx' failed&lt;BR /&gt;
	[]&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt; plot.show()&lt;BR /&gt;
	Traceback (most recent call last):&lt;BR /&gt;
	&amp;nbsp; File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;
	NameError: name 'plot' is not defined&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt; plt.show()&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;-------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I install intel distribution for python using conda.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I install idp on the latest version debian, I got the "&lt;/SPAN&gt;Fontconfig error: Cannot load default config file" too.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 07:08:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081065#M272</guid>
      <dc:creator>guo_z_</dc:creator>
      <dc:date>2016-09-19T07:08:17Z</dc:date>
    </item>
    <item>
      <title>I install intel python</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081066#M273</link>
      <description>&lt;P&gt;I install intel python distribution on centos 7 64bit. when I change the back end from WebAgg to TkAgg, The same Fontconfg error emerge again.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 08:41:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081066#M273</guid>
      <dc:creator>guo_z_</dc:creator>
      <dc:date>2016-09-21T08:41:25Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081067#M274</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Thanks for bringing this issue to our attention. I was able to install Continuum's pyqt package into a conda environment with Intel Python and successfully change the backend to Qt4Agg.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;# Create a conda environment with Intel Python and Intel's matplotlib and tornado packages
$ conda create -n mpl -c intel --override-channels matplotlib tornado
# Activate the environment
$ source activate mpl
# Install Continuum's pyqt package into the Intel environment
$ conda install pyqt=4
# Run python, change the backend and show a simple plot
$ python

&amp;gt;&amp;gt;&amp;gt;import matplotlib

&amp;gt;&amp;gt;&amp;gt;matplotlib.use('Qt4Agg')

&amp;gt;&amp;gt;&amp;gt;import matplotlib.pyplot as plt

&amp;gt;&amp;gt;&amp;gt;plt.plot([1,2,3,4])

&amp;gt;&amp;gt;&amp;gt;plt.show()&lt;/PRE&gt;

&lt;P&gt;I did see the Fontconfig error you pointed out, but matplotlib seems to work fine otherwise. &amp;nbsp;Are you able to see plots after you get the Fontconfig error?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 19:21:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081067#M274</guid>
      <dc:creator>Christophe_H_Intel2</dc:creator>
      <dc:date>2016-09-22T19:21:29Z</dc:date>
    </item>
    <item>
      <title>Dear Christopher H thanks for</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081068#M275</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/1183587" style="background-color: rgb(238, 238, 238);"&gt;Christopher H&lt;/A&gt;&amp;nbsp;thanks for your replying. I will test matplotlib &amp;nbsp;according to your instruction.&lt;/P&gt;

&lt;P&gt;Now if I install intel distribution for python by the pack download from intel web site. I do not using conda to manage python environment. when I use pip to install pyqt4, however, there is no pack name pyqt4 to install. How can I install pyqt package?&lt;/P&gt;

&lt;P&gt;And why the intel distribution for python matplotlib do not use Qt4agg as the default backend?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 20:59:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081068#M275</guid>
      <dc:creator>guo_z_</dc:creator>
      <dc:date>2016-09-28T20:59:04Z</dc:date>
    </item>
    <item>
      <title>how to make the qt4agg as the</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081069#M276</link>
      <description>&lt;P&gt;how to make the qt4agg as the default backend?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 07:26:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081069#M276</guid>
      <dc:creator>guo_z_</dc:creator>
      <dc:date>2016-09-29T07:26:47Z</dc:date>
    </item>
    <item>
      <title>Hi Guo,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081070#M277</link>
      <description>&lt;P&gt;Hi Guo,&lt;/P&gt;

&lt;P&gt;To set your default backend to Qt4Agg, you can modify the matplotlibrc file located in &amp;lt;PY_INSTALL_PATH&amp;gt;/lib/python&amp;lt;VERSION&amp;gt;/site-packages/matplotlib/mpl-data/matplolibrc.&lt;/P&gt;

&lt;P&gt;Change&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;backend : WebAgg&lt;/PRE&gt;

&lt;P&gt;to&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;backend : Qt4Agg&lt;/PRE&gt;

&lt;P&gt;If you already have a matplotlibrc file in ~/.config/matplotlib, it will read that one first, so you can set the default backend there instead of the site-packages folder.&lt;/P&gt;

&lt;P&gt;After you've set the backend, you should see&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;python -c "import matplotlib; matplotlib.get_backend()"
&amp;gt; 'Qt4Agg'&lt;/PRE&gt;

&lt;P&gt;I hope that helps.&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 19:43:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081070#M277</guid>
      <dc:creator>Christophe_H_Intel2</dc:creator>
      <dc:date>2016-10-03T19:43:05Z</dc:date>
    </item>
    <item>
      <title>I did what is in Christopher</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081071#M278</link>
      <description>&lt;P&gt;I did what is in Christopher post above and I got some error concerning the MKL library (bellow)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 16:06:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Problem-with-matplotlib/m-p/1081071#M278</guid>
      <dc:creator>sylvian_k_</dc:creator>
      <dc:date>2018-06-07T16:06:26Z</dc:date>
    </item>
  </channel>
</rss>

