<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Ask Ghassem - Recent questions tagged matplotlib</title>
<link>https://ask.ghassem.com/tag/matplotlib</link>
<description>Powered by Question2Answer</description>
<item>
<title>plotting categorical radio</title>
<link>https://ask.ghassem.com/414/plotting-categorical-radio</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am trying to gain insight of the data but having hard time plotting it.&lt;/p&gt;

&lt;p&gt;Suppose I have a data frame like below&lt;/p&gt;

&lt;table border=&quot;1&quot; cellpadding=&quot;1&quot; style=&quot;width:500px&quot;&gt;
	&lt;thead&gt;
		&lt;tr&gt;
			&lt;th scope=&quot;col&quot;&gt;ID&lt;/th&gt;
			&lt;th scope=&quot;col&quot;&gt;Feature 1&lt;/th&gt;
			&lt;th scope=&quot;col&quot;&gt;Class&lt;/th&gt;
		&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;1&lt;/td&gt;
			&lt;td&gt;a&lt;/td&gt;
			&lt;td&gt;good&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;2&lt;/td&gt;
			&lt;td&gt;a&lt;/td&gt;
			&lt;td&gt;good&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;3&lt;/td&gt;
			&lt;td&gt;b&lt;/td&gt;
			&lt;td&gt;good&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;4&lt;/td&gt;
			&lt;td&gt;b&lt;/td&gt;
			&lt;td&gt;bad&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;5&lt;/td&gt;
			&lt;td&gt;a&lt;/td&gt;
			&lt;td&gt;bad&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;6&lt;/td&gt;
			&lt;td&gt;a&lt;/td&gt;
			&lt;td&gt;bad&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;7&lt;/td&gt;
			&lt;td&gt;b&lt;/td&gt;
			&lt;td&gt;bad&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;In the above dataframe&amp;nbsp;I have one feature &quot;a&quot; and &quot;b&quot; each has a good and bad class value.&lt;/p&gt;

&lt;p&gt;for e.g&lt;/p&gt;

&lt;p&gt;feature &quot;a&quot; has 2 good and 2 bad classes&amp;nbsp;&lt;/p&gt;

&lt;p&gt;feature &quot;b&quot; has 1 good and 2 bad classes&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;How do i visualize this and plot it in python ?&lt;/li&gt;
	&lt;li&gt;How would I do it for more than one features in different subplots?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sorry if this question seems like a very basic question to ask&amp;nbsp;&lt;/p&gt;</description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/414/plotting-categorical-radio</guid>
<pubDate>Wed, 17 Oct 2018 02:25:36 +0000</pubDate>
</item>
<item>
<title>Can someone please post the video tutorial for Pandas, Numpy and Matplotlib ?</title>
<link>https://ask.ghassem.com/69/someone-please-post-video-tutorial-pandas-numpy-matplotlib</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
If someone can post the video tutorial for Pandas, Numpy and Matplotlib. I would appreciate it. I know that Lynda.com has those videos but I still have to get my Library card.&lt;br /&gt;
&lt;br /&gt;
Thanks,</description>
<category>Python</category>
<guid isPermaLink="true">https://ask.ghassem.com/69/someone-please-post-video-tutorial-pandas-numpy-matplotlib</guid>
<pubDate>Wed, 19 Sep 2018 13:20:32 +0000</pubDate>
</item>
</channel>
</rss>