<?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: Is there any way to add a Matplotlib visualizaton to a notebook Dashboard? in Community Articles</title>
    <link>https://community.databricks.com/t5/community-articles/is-there-any-way-to-add-a-matplotlib-visualizaton-to-a-notebook/m-p/102087#M332</link>
    <description>&lt;P&gt;I see what you're saying but what if I&amp;nbsp; want a set up where a user can enter parameters into widgets and the corresponding heat map updates?&amp;nbsp; With the method you suggested, it will just be a static heat map until I rerun the notebook,correct?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2024 15:16:32 GMT</pubDate>
    <dc:creator>jirukulapati</dc:creator>
    <dc:date>2024-12-13T15:16:32Z</dc:date>
    <item>
      <title>Is there any way to add a Matplotlib visualizaton to a notebook Dashboard?</title>
      <link>https://community.databricks.com/t5/community-articles/is-there-any-way-to-add-a-matplotlib-visualizaton-to-a-notebook/m-p/102055#M330</link>
      <description>&lt;P&gt;So I love that&amp;nbsp; databricks lets you display a dataframe, create a visualization of it, then add that visualization to notebook dashboard to present.&amp;nbsp; However, the visualizations lack some customization that I would like.&amp;nbsp; For example the heat map visualization from the notebook dashboard doesn't let you modify the min max values for the color bar.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a matplotlib heatmap that is much more customized.&amp;nbsp; Is there anyway to add this matplotlib visualization to a notebook dashboard?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 13:31:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/is-there-any-way-to-add-a-matplotlib-visualizaton-to-a-notebook/m-p/102055#M330</guid>
      <dc:creator>jirukulapati</dc:creator>
      <dc:date>2024-12-13T13:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to add a Matplotlib visualizaton to a notebook Dashboard?</title>
      <link>https://community.databricks.com/t5/community-articles/is-there-any-way-to-add-a-matplotlib-visualizaton-to-a-notebook/m-p/102066#M331</link>
      <description>&lt;P&gt;What you can do is run the visualization in the notebook, save it as image and display it in the dashboard, for example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np

# Sample data
data = np.random.rand(10, 12)
heatmap = sns.heatmap(data, cmap='viridis')

plt.show()&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;heatmap.figure.savefig('/dbfs/tmp/heatmap.png')&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;displayHTML('&amp;lt;img src="/files/tmp/heatmap.png" alt="heatmap"&amp;gt;')&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 14:08:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/is-there-any-way-to-add-a-matplotlib-visualizaton-to-a-notebook/m-p/102066#M331</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-12-13T14:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to add a Matplotlib visualizaton to a notebook Dashboard?</title>
      <link>https://community.databricks.com/t5/community-articles/is-there-any-way-to-add-a-matplotlib-visualizaton-to-a-notebook/m-p/102087#M332</link>
      <description>&lt;P&gt;I see what you're saying but what if I&amp;nbsp; want a set up where a user can enter parameters into widgets and the corresponding heat map updates?&amp;nbsp; With the method you suggested, it will just be a static heat map until I rerun the notebook,correct?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 15:16:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/is-there-any-way-to-add-a-matplotlib-visualizaton-to-a-notebook/m-p/102087#M332</guid>
      <dc:creator>jirukulapati</dc:creator>
      <dc:date>2024-12-13T15:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to add a Matplotlib visualizaton to a notebook Dashboard?</title>
      <link>https://community.databricks.com/t5/community-articles/is-there-any-way-to-add-a-matplotlib-visualizaton-to-a-notebook/m-p/102097#M333</link>
      <description>&lt;P&gt;This is correct, it seems the way you want to implement is not currently supported&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 16:06:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/is-there-any-way-to-add-a-matplotlib-visualizaton-to-a-notebook/m-p/102097#M333</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-12-13T16:06:01Z</dc:date>
    </item>
  </channel>
</rss>

