GithubHelp home page GithubHelp logo

Comments (3)

theengineear avatar theengineear commented on May 2, 2024

Having a hard time recreating this one: http://nbviewer.ipython.org/gist/theengineear/0c4054a763b755a183b1

Can you try running that code in the link and let me know if it breaks on you?

from plotly.py.

hughesadam87 avatar hughesadam87 commented on May 2, 2024

Yes, I get it with that code:

plotly 1.1.4
ipython 2.1.0


HTTPError Traceback (most recent call last)
in ()
2 fig, ax = plt.subplots()
3 ax.plot([1,2,3])
----> 4 py.iplot_mpl(fig, world_readable=False)

/home/glue/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/plotly/plotly/plotly.pyc in iplot_mpl(fig, resize, strip_style, update, *_plot_options)
229 "object. Run 'help(plotly.graph_objs.Figure)' for more info."
230 )
--> 231 return iplot(fig, *_plot_options)
232
233

/home/glue/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/plotly/plotly/plotly.pyc in iplot(figure_or_data, *_plot_options)
98 if 'auto_open' not in plot_options:
99 plot_options['auto_open'] = False
--> 100 res = plot(figure_or_data, *_plot_options)
101 urlsplit = res.split('/')
102 username, plot_id = urlsplit[-2][1:], urlsplit[-1] # TODO: HACKY!

/home/glue/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/plotly/plotly/plotly.pyc in plot(figure_or_data, validate, *_plot_options)
181 pass
182 plot_options = _plot_option_logic(plot_options)
--> 183 res = _send_to_plotly(figure, *_plot_options)
184 if res['error'] == '':
185 if plot_options['auto_open']:

/home/glue/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/plotly/plotly/plotly.pyc in _send_to_plotly(figure, **plot_options)
656
657 r = requests.post(url, data=payload)
--> 658 r.raise_for_status()
659 r = json.loads(r.text)
660 if 'error' in r and r['error'] != '':

/home/glue/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/requests/models.pyc in raise_for_status(self)
793
794 if http_error_msg:
--> 795 raise HTTPError(http_error_msg, response=self)
796
797 def close(self):

HTTPError: 500 Server Error: INTERNAL SERVER ERROR

from plotly.py.

hughesadam87 avatar hughesadam87 commented on May 2, 2024

PS, this is not really detrimental to me personally if it's just on my end. Let me know if you want too see any other library versions e.g. requests

from plotly.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.