<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Plot a line chart to depict a comparison of population between India and Pakistan. - Python				            </title>
            <link>https://discuss.codewithbishal.com/python/plot-a-line-chart-to-depict-a-comparison-of-population-between-india-and-pakistan/</link>
            <description>Discuss Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 27 Apr 2026 15:33:50 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Answer to: Plot a line chart to depict a comparison of population between India and Pakistan.</title>
                        <link>https://discuss.codewithbishal.com/python/plot-a-line-chart-to-depict-a-comparison-of-population-between-india-and-pakistan/#post-50</link>
                        <pubDate>Sun, 27 Nov 2022 18:40:28 +0000</pubDate>
                        <description><![CDATA[Code:

import matplotlib.pylab as plt


year = 
pop_pakistan = 
pop_india = [449.48, 553.57, 696.783, 870...]]></description>
                        <content:encoded><![CDATA[<p>Code:</p>
<div>
<pre contenteditable="false">import matplotlib.pylab as plt


year = 
pop_pakistan = 
pop_india = 


plt.plot(year, pop_india, color='orange', label="India")
plt.plot(year, pop_pakistan, color='g', label="Pakistan")
plt.xlabel('Countries')
plt.ylabel('Population in million')
plt.title('India Pakistan Population till 2010')
plt.legend()
plt.show()</pre>
<p>Output:</p>
<p> </p>
<p> <img src="//discuss.codewithbishal.com/wp-content/uploads/wpforo/default_attachments/1669574428-Screenshot-2022-11-28-at-121018-AM.png" width="350" height="200" /></p>
</div>
<div id="wpfa-246" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="Screenshot-2022-11-28-at-12.10.18-AM.png" href="//discuss.codewithbishal.com/wp-content/uploads/wpforo/default_attachments/1669574428-Screenshot-2022-11-28-at-121018-AM.png" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> Screenshot-2022-11-28-at-12.10.18-AM.png</a></div>]]></content:encoded>
						                            <category domain="https://discuss.codewithbishal.com/python/">Python</category>                        <dc:creator>CodeWithBishal-admin</dc:creator>
                        <guid isPermaLink="true">https://discuss.codewithbishal.com/python/plot-a-line-chart-to-depict-a-comparison-of-population-between-india-and-pakistan/#post-50</guid>
                    </item>
				                    <item>
                        <title>Plot a line chart to depict a comparison of population between India and Pakistan.</title>
                        <link>https://discuss.codewithbishal.com/python/plot-a-line-chart-to-depict-a-comparison-of-population-between-india-and-pakistan/#post-49</link>
                        <pubDate>Sun, 27 Nov 2022 18:38:46 +0000</pubDate>
                        <description><![CDATA[Plot a line chart to depict a comparison of population between India and Pakistan.]]></description>
                        <content:encoded><![CDATA[<p>Plot a line chart to depict a comparison of population between India and Pakistan.</p>]]></content:encoded>
						                            <category domain="https://discuss.codewithbishal.com/python/">Python</category>                        <dc:creator>CodeWithBishal-admin</dc:creator>
                        <guid isPermaLink="true">https://discuss.codewithbishal.com/python/plot-a-line-chart-to-depict-a-comparison-of-population-between-india-and-pakistan/#post-49</guid>
                    </item>
							        </channel>
        </rss>
		