<?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: Unable to render widget to display map within Jupyter notebook output cell in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-render-widget-to-display-map-within-jupyter-notebook/m-p/6332#M2506</link>
    <description>&lt;P&gt;Hi, If you could raise a support case, we will verify the code and suggest if any change is needed.&lt;/P&gt;&lt;P&gt;Also refer: &lt;A href="https://docs.databricks.com/notebooks/widgets.html" alt="https://docs.databricks.com/notebooks/widgets.html" target="_blank"&gt;https://docs.databricks.com/notebooks/widgets.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please tag&amp;nbsp;&lt;A href="https://community.databricks.com/s/profile/0053f000000WWwvAAG" alt="https://community.databricks.com/s/profile/0053f000000WWwvAAG" target="_blank"&gt;@Debayan&lt;/A&gt;​&amp;nbsp;with your next response which will notify me. Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 05:30:58 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2023-04-06T05:30:58Z</dc:date>
    <item>
      <title>Unable to render widget to display map within Jupyter notebook output cell</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-render-widget-to-display-map-within-jupyter-notebook/m-p/6331#M2505</link>
      <description>&lt;P&gt;I am attempting to render a map within jupyter notebook and keep bumping into output limit. Below is my code: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import pydeck as pdk
&amp;nbsp;
import pandas as pd
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
COLOR_BREWER_BLUE_SCALE = [
&amp;nbsp;
  [240, 249, 232],
&amp;nbsp;
  [204, 235, 197],
&amp;nbsp;
  [168, 221, 181],
&amp;nbsp;
  [123, 204, 196],
&amp;nbsp;
  [67, 162, 202],
&amp;nbsp;
  [8, 104, 172],
&amp;nbsp;
]
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
view_state = pdk.data_utils.compute_view(df[["lng", "lat"]])
&amp;nbsp;
view_state.zoom = 6
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
# Define a layer to display on a map
&amp;nbsp;
layer = pdk.Layer(
&amp;nbsp;
          'HexagonLayer',
&amp;nbsp;
          df,
&amp;nbsp;
          get_position=['lng', 'lat'],
&amp;nbsp;
          auto_highlight=True,
&amp;nbsp;
          elevation_scale=50,
&amp;nbsp;
          pickable=True,
&amp;nbsp;
          elevation_range=[0, 3000],
&amp;nbsp;
          extruded=True,         
&amp;nbsp;
          coverage=1
&amp;nbsp;
         )
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
# Render
&amp;nbsp;
r = pdk.Deck(layers=[layer], initial_view_state=view_state)
&amp;nbsp;
r.show()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In the output cell, I get: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading the widget is taking longer than expected. We suggest the following…&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make sure that your cluster runs on DBR 11.0 (DBR 11.1 for GCP user) or higher.&lt;/LI&gt;&lt;LI&gt;Try to run the cell again.&lt;/LI&gt;&lt;LI&gt;Keep waiting if the widget is large or your internet is slow.&lt;/LI&gt;&lt;LI&gt;Reach out to your Databricks support.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cluster is running on DBR: `12.2 LTS (includes Apache Spark 3.3.2, Scala 2.12)`&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 00:12:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-render-widget-to-display-map-within-jupyter-notebook/m-p/6331#M2505</guid>
      <dc:creator>kll</dc:creator>
      <dc:date>2023-04-06T00:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to render widget to display map within Jupyter notebook output cell</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-render-widget-to-display-map-within-jupyter-notebook/m-p/6333#M2507</link>
      <description>&lt;P&gt;Hi @Keval Shah​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your question! To assist you better, please take a moment to review the answer and let me know if it best fits your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help us select the best solution by clicking on "Select As Best" if it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your feedback will help us ensure that we are providing the best possible service to you. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Apr 2023 06:43:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-render-widget-to-display-map-within-jupyter-notebook/m-p/6333#M2507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-08T06:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to render widget to display map within Jupyter notebook output cell</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-render-widget-to-display-map-within-jupyter-notebook/m-p/6332#M2506</link>
      <description>&lt;P&gt;Hi, If you could raise a support case, we will verify the code and suggest if any change is needed.&lt;/P&gt;&lt;P&gt;Also refer: &lt;A href="https://docs.databricks.com/notebooks/widgets.html" alt="https://docs.databricks.com/notebooks/widgets.html" target="_blank"&gt;https://docs.databricks.com/notebooks/widgets.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please tag&amp;nbsp;&lt;A href="https://community.databricks.com/s/profile/0053f000000WWwvAAG" alt="https://community.databricks.com/s/profile/0053f000000WWwvAAG" target="_blank"&gt;@Debayan&lt;/A&gt;​&amp;nbsp;with your next response which will notify me. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 05:30:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-render-widget-to-display-map-within-jupyter-notebook/m-p/6332#M2506</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-04-06T05:30:58Z</dc:date>
    </item>
  </channel>
</rss>

