<?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 Re: set color in MatrixHeat chart in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/set-color-in-matrixheat-chart/m-p/1270867#M67191</link>
    <description>&lt;P&gt;Thanks.&amp;nbsp; I have already explored the options shown in this response.&amp;nbsp; I even tried using a color ramp name also in trying to set the color scheme.&lt;/P&gt;&lt;P&gt;I have had ESRI staff pop in on other threads, maybe one will read this and respond to this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2023 14:12:14 GMT</pubDate>
    <dc:creator>DavidAnderson_1701</dc:creator>
    <dc:date>2023-03-23T14:12:14Z</dc:date>
    <item>
      <title>set color in MatrixHeat chart</title>
      <link>https://community.esri.com/t5/python-questions/set-color-in-matrixheat-chart/m-p/1270626#M67182</link>
      <description>&lt;P&gt;I am using the arcpy.charts module to create some MatrixHeat charts for a set of data.&amp;nbsp; I can't&amp;nbsp; figure out how to change the color from the default color.&amp;nbsp; Setting the color property&lt;/P&gt;&lt;LI-CODE lang="python"&gt;my_chart.color = ['#FF3333']&lt;/LI-CODE&gt;&lt;P&gt;Doe not change the color.&amp;nbsp; The documentation on this is vague bordering on nonexistent.&amp;nbsp; Checking the docstring&lt;/P&gt;&lt;LI-CODE lang="c"&gt;my_chart.color?&lt;/LI-CODE&gt;&lt;P&gt;comes back with &amp;lt;no docstring&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 20:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-color-in-matrixheat-chart/m-p/1270626#M67182</guid>
      <dc:creator>DavidAnderson_1701</dc:creator>
      <dc:date>2023-03-22T20:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: set color in MatrixHeat chart</title>
      <link>https://community.esri.com/t5/python-questions/set-color-in-matrixheat-chart/m-p/1270738#M67185</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/483343"&gt;@DavidAnderson_1701&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I little digging on this and came across this blog article&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/using-arcgis-notebooks-and-arcpy-charts-to-explore-data/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/using-arcgis-notebooks-and-arcpy-charts-to-explore-data/&lt;/A&gt;&amp;nbsp;and it looks like it is possible to change colors however, looks like it is only for line chart.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, I also tried creating a matrix heat chart in arcgis pro itself and in the UI we do have the option to change the color scheme. Attaching a screenshot for your reference&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chart.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66027i77A03B701DC80EF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Chart.png" alt="Chart.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know in open source libraries like seaborn we do have a parameter of cmap&amp;nbsp; to change colors. (&lt;A href="https://seaborn.pydata.org/generated/seaborn.heatmap.html" target="_blank"&gt;https://seaborn.pydata.org/generated/seaborn.heatmap.html&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Hence, I also tried using parameters like cmap or name of a color scheme as mentioned in pro in the jupyter notebook to see if that changes color in the chart however, it still shows the default color.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Test.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66029i4D956817AF991DC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Test.png" alt="Test.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point of time I believe if possible you can check with ESRI Technical Support to confirm if this functionality is available in arcpy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround and if possible you can leverage open source libraries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 06:05:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-color-in-matrixheat-chart/m-p/1270738#M67185</guid>
      <dc:creator>wizgis</dc:creator>
      <dc:date>2023-03-23T06:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: set color in MatrixHeat chart</title>
      <link>https://community.esri.com/t5/python-questions/set-color-in-matrixheat-chart/m-p/1270867#M67191</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; I have already explored the options shown in this response.&amp;nbsp; I even tried using a color ramp name also in trying to set the color scheme.&lt;/P&gt;&lt;P&gt;I have had ESRI staff pop in on other threads, maybe one will read this and respond to this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 14:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-color-in-matrixheat-chart/m-p/1270867#M67191</guid>
      <dc:creator>DavidAnderson_1701</dc:creator>
      <dc:date>2023-03-23T14:12:14Z</dc:date>
    </item>
  </channel>
</rss>

