<?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 Plot a maps not working in Notebook in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/plot-a-maps-not-working-in-notebook/m-p/1067826#M61356</link>
    <description>&lt;P&gt;Hi everyone i'm trying to plot a map using Geopandas and Matplotlib but is not showing , How i can fix that?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 09:43:51 GMT</pubDate>
    <dc:creator>ALI_AZZOUHRI</dc:creator>
    <dc:date>2021-06-14T09:43:51Z</dc:date>
    <item>
      <title>Plot a maps not working in Notebook</title>
      <link>https://community.esri.com/t5/python-questions/plot-a-maps-not-working-in-notebook/m-p/1067826#M61356</link>
      <description>&lt;P&gt;Hi everyone i'm trying to plot a map using Geopandas and Matplotlib but is not showing , How i can fix that?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 09:43:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/plot-a-maps-not-working-in-notebook/m-p/1067826#M61356</guid>
      <dc:creator>ALI_AZZOUHRI</dc:creator>
      <dc:date>2021-06-14T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Plot a maps not working in Notebook</title>
      <link>https://community.esri.com/t5/python-questions/plot-a-maps-not-working-in-notebook/m-p/1067849#M61358</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do it these two settings in your notebook.&lt;/P&gt;&lt;P&gt;1. In Run do it Markdown as mention in below pic.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DrVSSKiran_0-1623674418281.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15867i9D62BDEC4020FC7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DrVSSKiran_0-1623674418281.png" alt="DrVSSKiran_0-1623674418281.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. All Output to be toggle.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DrVSSKiran_2-1623674536740.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15869i549A140A3819200B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DrVSSKiran_2-1623674536740.png" alt="DrVSSKiran_2-1623674536740.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 12:42:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/plot-a-maps-not-working-in-notebook/m-p/1067849#M61358</guid>
      <dc:creator>DrVSSKiran</dc:creator>
      <dc:date>2021-06-14T12:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Plot a maps not working in Notebook</title>
      <link>https://community.esri.com/t5/python-questions/plot-a-maps-not-working-in-notebook/m-p/1067876#M61359</link>
      <description>&lt;P&gt;To simply show the map, all you need to do is&lt;/P&gt;&lt;PRE&gt;aus_poas.plot()&lt;/PRE&gt;&lt;P&gt;What your code is doing, however, is assigning the output of the plot function to the variable &lt;STRONG&gt;ax&lt;/STRONG&gt;, but not actually calling that output to see it. If all you want is to see the plot, you can call that variable in its own cell.&lt;/P&gt;&lt;P&gt;If, however, you're trying to create a MatPlotLib &lt;EM&gt;figure&lt;/EM&gt; with the map in it, there's a different way. Note in the GeoPandas documentation for &lt;A href="https://geopandas.org/docs/reference/api/geopandas.GeoDataFrame.plot.html#geopandas.GeoDataFrame.plot" target="_self"&gt;the plot function&lt;/A&gt; the parameter &lt;STRONG&gt;ax&lt;/STRONG&gt;. This parameter indicates that you want your plot assigned to MatPlotLib axes; you should already have one established.&lt;/P&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;fig1, ax1 = plt.subplots(1, 1, figsize=(6,6))

aus_poas.plot(ax=ax1)

plt.show()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 13:43:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/plot-a-maps-not-working-in-notebook/m-p/1067876#M61359</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-06-14T13:43:55Z</dc:date>
    </item>
  </channel>
</rss>

