Giter Site home page Giter Site logo

Comments (4)

Peter-B- avatar Peter-B- commented on June 4, 2024

Hi @bvenn,

I just copied your code into a new Polyglot Notebook and it works. Excluding the first line did not change anything.

from plotly.net.

bvenn avatar bvenn commented on June 4, 2024

@Peter-B- I did the same and the first time it showed the same error. The second time after restarting the kernel it worked just fine. The same pattern occurred when I switched the references to Cytoscape beeing first. I spoke to @kMutagene on the conference and he already had an idea what happened.

@kMutagene feel free closing this issue if the issue just affects my local setup

from plotly.net.

kMutagene avatar kMutagene commented on June 4, 2024

I find it weird that it works for you @Peter-B-, because the error makes sense: Plotly.NET and Cytoscape.NET use different view engine packages (Giraffe.ViewEngine.StrongName vs Giraffe.ViewEngine) (i have to fix this for Cytoscape.NET), because Plotly.NET needs to be signed (long story).

Cytoscape.NET only uses the engine internally, while Plotly.NET actually allows you to use the ViewEngine html dsl for chart description. It could be possible for type inference to know which assembly to use, but when one shadows the other as the functions are named exactly the same, i would expect this error to occur. So i would guess @bvenn if you reverse the dependencies (loading cytoscape first, then plotly) it should work

from plotly.net.

kMutagene avatar kMutagene commented on June 4, 2024

Closing this as there is not much we can do when libraries use incompatible transient dependencies.

from plotly.net.

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.