<?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 saspy graph output not displaying in Jupyter Lab in Developers</title>
    <link>https://communities.sas.com/t5/Developers/saspy-graph-output-not-displaying-in-Jupyter-Lab/m-p/845005#M6222</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJGR8_0-1668728597782.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77423iFE9CEF5B041A75C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJGR8_0-1668728597782.png" alt="JJGR8_0-1668728597782.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 23:44:24 GMT</pubDate>
    <dc:creator>JJGR8</dc:creator>
    <dc:date>2022-11-17T23:44:24Z</dc:date>
    <item>
      <title>saspy graph output not displaying in Jupyter Lab</title>
      <link>https://communities.sas.com/t5/Developers/saspy-graph-output-not-displaying-in-Jupyter-Lab/m-p/845005#M6222</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJGR8_0-1668728597782.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77423iFE9CEF5B041A75C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJGR8_0-1668728597782.png" alt="JJGR8_0-1668728597782.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 23:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/saspy-graph-output-not-displaying-in-Jupyter-Lab/m-p/845005#M6222</guid>
      <dc:creator>JJGR8</dc:creator>
      <dc:date>2022-11-17T23:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: saspy graph output not displaying in Jupyter Lab</title>
      <link>https://communities.sas.com/t5/Developers/saspy-graph-output-not-displaying-in-Jupyter-Lab/m-p/845117#M6224</link>
      <description>&lt;P&gt;It looks like you have that whole program in one cell. Jupyter doesn't work well when you try to put multiple statements which create output in a single cell. It works better when you have one output generating statement per cell. There are ways around that some, but just splitting the code into different cells should solve this for you. Try the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cell 1&lt;/P&gt;
&lt;P&gt;import saspy&lt;/P&gt;
&lt;P&gt;sas = saspy.SASsession()&lt;/P&gt;
&lt;P&gt;sas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cell 2&lt;/P&gt;
&lt;P&gt;cars = sas.sasdata('cars','sashelp')&lt;/P&gt;
&lt;P&gt;cars&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cell 3&lt;/P&gt;
&lt;P&gt;stat = sas.sasstat()&lt;/P&gt;
&lt;P&gt;res = stat.reg(...)&lt;/P&gt;
&lt;P&gt;dir(res)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cell 4&lt;/P&gt;
&lt;P&gt;res.DIAGNOSTICPANNEL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should get you the output from all of those different methods, which none of is showing up in your one cell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 14:12:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/saspy-graph-output-not-displaying-in-Jupyter-Lab/m-p/845117#M6224</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2022-11-18T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: saspy graph output not displaying in Jupyter Lab</title>
      <link>https://communities.sas.com/t5/Developers/saspy-graph-output-not-displaying-in-Jupyter-Lab/m-p/845204#M6230</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;No difference- seems like there's something up with outputting graphics vs. just an html table. Could it be java related?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJGR8_1-1668804571085.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77471i081335E2B8D9DC97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJGR8_1-1668804571085.png" alt="JJGR8_1-1668804571085.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>Fri, 18 Nov 2022 20:49:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/saspy-graph-output-not-displaying-in-Jupyter-Lab/m-p/845204#M6230</guid>
      <dc:creator>JJGR8</dc:creator>
      <dc:date>2022-11-18T20:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: saspy graph output not displaying in Jupyter Lab</title>
      <link>https://communities.sas.com/t5/Developers/saspy-graph-output-not-displaying-in-Jupyter-Lab/m-p/845217#M6231</link>
      <description>&lt;P&gt;Well, I can't really tell what the issue is just from this picture. Have you tried anything else? The output you show from the cars.describe() is a dataframe, not an html table. There are dozens of other methods that return html. Have you tried any? Set the results to html instead of pandas and describe and head/tail (just about everything) will return html results instead of dataframes. What browser are you using? Can you try a different one? There are plenty of other diagnostics to try, we can get the html back raw and see what it is (I'm not really expecting it to be wrong or messed up). Try rendering it manually in jupyter and see if that does the same thing. Does any html render in in this environment?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you submit the SASsession object, like in the example code I provided before, so then I can see other info that can help?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To try some manual html rendering, look at cells 63-67 in this example notebook:&amp;nbsp;&lt;A href="https://github.com/sassoftware/saspy-examples/blob/main/SAS_contrib/saspy_example_github.ipynb" target="_blank"&gt;https://github.com/sassoftware/saspy-examples/blob/main/SAS_contrib/saspy_example_github.ipynb&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Cell 68 in that same notebook shows you how to get the html and write it to a local file. Then open that file and the html should render in a browser or whatever you have associated as the program for a .html file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;
&lt;P&gt;That will help determine if there's an issue w/ jutpyter, the browser or something else.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 22:17:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/saspy-graph-output-not-displaying-in-Jupyter-Lab/m-p/845217#M6231</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2022-11-18T22:17:51Z</dc:date>
    </item>
  </channel>
</rss>

