<?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: Why is my Plotly graph squished? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/why-is-my-plotly-graph-squished/m-p/12265#M7101</link>
    <description>&lt;P&gt;Hey there @Niels Ota​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 09:46:26 GMT</pubDate>
    <dc:creator>Vidula</dc:creator>
    <dc:date>2022-09-06T09:46:26Z</dc:date>
    <item>
      <title>Why is my Plotly graph squished?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-is-my-plotly-graph-squished/m-p/12263#M7099</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;fig = make_subplots(1,4)
cols = ['OrderValue', 'TransactionPrice', 'ProductPrice', 'ProductUnits']
&amp;nbsp;
&amp;nbsp;
for i, col in enumerate(cols):
    fig.add_trace(
        go.Histogram(x=silver_df.select(col).toPandas()[col]),
        row=1, col=i+1
    )
&amp;nbsp;
p = plot(fig, output_type='div')
&amp;nbsp;
displayHTML(p)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am using the above code to generate a Plotly graph. The code runs, but the output is squished (see attachment).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips as to how to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 10:18:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-is-my-plotly-graph-squished/m-p/12263#M7099</guid>
      <dc:creator>niels</dc:creator>
      <dc:date>2022-07-27T10:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Plotly graph squished?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-is-my-plotly-graph-squished/m-p/12264#M7100</link>
      <description>&lt;P&gt;Hi @Niels Ota​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whats the DBR version you are using? what web browser are you using? please provide more details if possible &lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 21:01:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-is-my-plotly-graph-squished/m-p/12264#M7100</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-08-17T21:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Plotly graph squished?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-is-my-plotly-graph-squished/m-p/12265#M7101</link>
      <description>&lt;P&gt;Hey there @Niels Ota​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 09:46:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-is-my-plotly-graph-squished/m-p/12265#M7101</guid>
      <dc:creator>Vidula</dc:creator>
      <dc:date>2022-09-06T09:46:26Z</dc:date>
    </item>
  </channel>
</rss>

