Skip to content

Conversation

nzjrs
Copy link

@nzjrs nzjrs commented Nov 24, 2015

For discussion. Fixes #353

@chriddyp
Copy link
Member

nice, thanks @nzjrs !

I'd like plotly.offline.plot to also handle a few more things:

  • filename="temp-plotly.html" argument that saves the graph to the directory
  • auto_open=True argument which will open the plot in your web browser by default. We should piggyback on the config settings that a user can save in their config file: https://github.com/plotly/plotly.py/blob/master/plotly/plotly/plotly.py#L240
  • For standalone sizing, I think we should make the plot full window, make the div 100% x 100% of the body.
  • I love the idea of html_style idea! I'm not sure about what the use case is for body, it seems like div serves that purpose

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should include
<!DOCTYPE html> and <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

@jackgolding
Copy link

If we wanted to create an internal dashboard (i.e. not plots hosted on plot.ly) using plot.ly would using iframes to these generated HTML files be a good idea or is this what we need the enterprise mode for?

@baobobs
Copy link

baobobs commented Dec 11, 2015

Any progress on this? I'm excited to test this out once it's been successfully merged.

@chriddyp
Copy link
Member

Closing this in favor of #378

@chriddyp chriddyp closed this Dec 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants