<?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: Empty Plot Output in ArcGIS Insights Questions</title>
    <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160904#M960</link>
    <description>&lt;P&gt;Good day Ian,&lt;/P&gt;&lt;P&gt;Thank you for the quick response.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Yes, I followed the "Insights scripting guide" step by step.&lt;/LI&gt;&lt;LI&gt;Installed the libraries/packages via the Anaconda Navigator.&lt;/LI&gt;&lt;LI&gt;Imported the packages in the Insights scripting console as seen in the code.&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Mon, 04 Apr 2022 18:43:54 GMT</pubDate>
    <dc:creator>Ed_</dc:creator>
    <dc:date>2022-04-04T18:43:54Z</dc:date>
    <item>
      <title>Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160856#M958</link>
      <description>&lt;P&gt;Hello, I am trying to create a simple "plotly" timeseries plot in Insights Desktop. But I am getting a blank output for some reason.&lt;/P&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;library(tidyverse)

library(plotly)

# Import the air temperature dataset to create a plotly plot.
df = read.csv("O:/local_path.csv")

# Plot
month.gg.bwrd_clip = df %&amp;gt;%
#Calculating mean by year
group_by(year) %&amp;gt;%
summarise(tmean = mean(tmean,na.rm = TRUE)) %&amp;gt;%
ggplot(aes(x= year, y=tmean)) +
geom_line(stat = "identity") +
xlab("Year") +
ylab("Average Temperature")

ggplotly(month.gg.bwrd_clip)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SaadullahBaloch_0-1649091981835.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38100i1ECF7CF158D36DF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SaadullahBaloch_0-1649091981835.png" alt="SaadullahBaloch_0-1649091981835.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 16:08:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160856#M958</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2022-04-05T16:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160899#M959</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/554773"&gt;@Ed_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm not an R person... I wish I was, though! Hopefully someday. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, I use Jupyter kernel gateways for Python in Insights.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So with that caveat (i.e., I *don't* have a definitive answer for you)&amp;nbsp;I'm wondering if:&lt;/P&gt;&lt;P&gt;a) the libraries are definitely installed on your connection machine -- I presume they are, because I get the vibe you're an R Guru! :-), but I thought I would check just in case&lt;/P&gt;&lt;P&gt;b) have you installed all of ArcGIS Insights' R and Python dependencies? (Note:&amp;nbsp;the dependencies vary between older versions of Insights and newer ones.)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/insights-scripting-guide/tree/master/gateway" target="_blank"&gt;https://github.com/Esri/insights-scripting-guide/tree/master/gateway&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You probably found the next link already, as it sounds like you're pretty far along. It may even be a link that Scott sent you last Friday, so apologies if it is, but here is the guide to setting up scripting environments in ArcGIS Insights.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/insights-scripting-guide" target="_blank"&gt;https://github.com/Esri/insights-scripting-guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm sorry this isn't working for you.&lt;/P&gt;&lt;P&gt;Hopefully it's just a minor issue.&lt;/P&gt;&lt;P&gt;If not... please let us know, and I'll try to replicate the issue and report it as a bug to fix! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Better yet, hopefully a regular R user pops on here shortly with a solution!&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/554773"&gt;@Ed_&lt;/a&gt;!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ian&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 18:37:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160899#M959</guid>
      <dc:creator>Ian_Muehlenhaus</dc:creator>
      <dc:date>2022-04-04T18:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160904#M960</link>
      <description>&lt;P&gt;Good day Ian,&lt;/P&gt;&lt;P&gt;Thank you for the quick response.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Yes, I followed the "Insights scripting guide" step by step.&lt;/LI&gt;&lt;LI&gt;Installed the libraries/packages via the Anaconda Navigator.&lt;/LI&gt;&lt;LI&gt;Imported the packages in the Insights scripting console as seen in the code.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 04 Apr 2022 18:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160904#M960</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2022-04-04T18:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160919#M961</link>
      <description>Awesome you did that but… Darnit! Then, I have no idea what the issue could be. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I’ll ask around if anyone knows what the issue might be. Can’t promise how responsive they’ll be, as everyone is quite busy right now, but hopefully someone gets back to you soon.&lt;BR /&gt;&lt;BR /&gt;Sorry again. We’ll try to get this figured out!&lt;BR /&gt;&lt;BR /&gt;Ian&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2022 19:12:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160919#M961</guid>
      <dc:creator>Ian_Muehlenhaus</dc:creator>
      <dc:date>2022-04-04T19:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160925#M962</link>
      <description>&lt;P&gt;No worries, cheers for the help Ian.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 19:21:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1160925#M962</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2022-04-04T19:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161295#M967</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/554773" target="_self"&gt;&lt;SPAN class=""&gt;SaadullahBaloch&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am not sure exactly where it's going wrong for you.&amp;nbsp; I just installed tidyverse and ran a quick example and managed to get a plot.&amp;nbsp; Maybe try this simple example and see if that works for you first?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaBeale_0-1649181697978.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38185iD2F1B78E940490C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaBeale_0-1649181697978.png" alt="LindaBeale_0-1649181697978.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 18:03:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161295#M967</guid>
      <dc:creator>LindaBeale</dc:creator>
      <dc:date>2022-04-05T18:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161528#M968</link>
      <description>&lt;P&gt;Good day &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/35418"&gt;@LindaBeale&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for the response, however, if you look at my code I am using "ggplotly" (you will have to install the "plotly" package for that). Basically, you first store the "ggplot" in an object, and then use that object with "ggplotly".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 12:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161528#M968</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2022-04-06T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161632#M969</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/35418"&gt;@LindaBeale&lt;/a&gt;&amp;nbsp;actually, since "plotly" interactive plots are not supported by Insights, this post could be considered as an idea to be included as a feature in a near future Insights release.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 15:44:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161632#M969</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2022-04-06T15:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161702#M970</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/554773"&gt;@Ed_&lt;/a&gt;: This is great idea. We'll bring it up with the team for sure. Sorry this feature isn't "quite" there yet for you in this specific case. We'll try to get it there in the future! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again for using Insights!&lt;BR /&gt;&lt;BR /&gt;Ian&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 17:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161702#M970</guid>
      <dc:creator>Ian_Muehlenhaus</dc:creator>
      <dc:date>2022-04-06T17:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161732#M971</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/554773"&gt;@Ed_&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Whoops. Hold up... I heard from someone online that this feature exists already. I'm wrong. (More proof I'm not a bot and very human!)&lt;/P&gt;&lt;P&gt;Sorry for the misinformation. I am hopeful someone will help sort this issue out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 17:46:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1161732#M971</guid>
      <dc:creator>Ian_Muehlenhaus</dc:creator>
      <dc:date>2022-04-06T17:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1162096#M972</link>
      <description>&lt;P&gt;Thanks for the clarification Ian.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 14:32:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1162096#M972</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2022-04-07T14:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1181529#M1089</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/554773"&gt;@Ed_&lt;/a&gt;&amp;nbsp;&amp;nbsp;Were you able to get this to work? I'm running in to the same issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/555316"&gt;@Ian_Muehlenhaus&lt;/a&gt;&amp;nbsp; You confirmed that Plotly is supported by Insights correct? Are there any additional steps needed to render those plots?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 16:31:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1181529#M1089</guid>
      <dc:creator>Arlo</dc:creator>
      <dc:date>2022-06-09T16:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1181621#M1095</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/573873"&gt;@Arlo&lt;/a&gt;&amp;nbsp;Insights (2021.3) has some issue supporting `Plotly` in `R` . I did contact their team via email and was told that this will be fixed but they haven't gotten back to me yet. It seems to me that R has limited support in Insights which should not be the case as R is a very powerful analytics tool and deeper R integration into Insights will further strengthen Insights as a whole.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 20:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1181621#M1095</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2022-06-09T20:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1226467#M1214</link>
      <description>&lt;P&gt;Hey, I'm having the same issue. I would very much appreciate being informed if something new comes up!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 00:00:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1226467#M1214</guid>
      <dc:creator>UGPSV_RNVV</dc:creator>
      <dc:date>2022-10-28T00:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Plot Output</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1410457#M1582</link>
      <description>&lt;P&gt;Not all libraries are compatible with our setup, however most of the time the issue of&amp;nbsp;plots not showing is usually a JavaScript permissions thing common to Jupyter Notebooks not just Insights.&amp;#11; It can often be solved with setting the output format to either “notebook” or “offline”.&lt;BR /&gt;&lt;BR /&gt;I'd need to do some digging to get it working in Plotly, but if for now I give you the easier example of Bokeh, it works if you add this to your script:&lt;/P&gt;&lt;P&gt;&amp;#11;from bokeh.io import output_notebook&lt;BR /&gt;output_notebook()&lt;BR /&gt;&lt;BR /&gt;Hope that at least points you all in the right direction until we can post the answer for Plotly specifically.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 17:26:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/empty-plot-output/m-p/1410457#M1582</guid>
      <dc:creator>ChrisWesson</dc:creator>
      <dc:date>2024-04-16T17:26:38Z</dc:date>
    </item>
  </channel>
</rss>

