Giter VIP home page Giter VIP logo

Comments (5)

santosjorge avatar santosjorge commented on July 30, 2024

Hi @Cercatrova - not sure I understand the question. Why would you require an HTML filename?

from cufflinks.

TristanBoudreault avatar TristanBoudreault commented on July 30, 2024

I have the same workflow. Basically I generate plots but not in a notebook. I do my interactive analysis in PyCharm and when I want to see a plot, I have to generate an html file and open it with a browser. To achieve that I replaced this line with the following code:

if not online:
    return offline.py_offline.plot(figure, filename=filename, validate=validate)
else:
    return py.plot(figure, sharing=sharing, filename=filename, validate=validate)

from cufflinks.

TristanBoudreault avatar TristanBoudreault commented on July 30, 2024

I can make a PR if you want

from cufflinks.

 avatar commented on July 30, 2024

Yes that would be nice. Sorry for getting to this so late, I saw it and then forgot about it until now. My use case is the same as above, I don't use Plotly in online mode, I only use their open source library so I would like there to be an entirely offline option if possible that handles all offline capabilities. The above PR is useful to me as well as perhaps others who have the same workflow.

from cufflinks.

LeTristanB avatar LeTristanB commented on July 30, 2024

Took me awhile but got around to do the PR:
#82

from cufflinks.

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.