Comments (6)
Thanks for reporting!
This should work. Dash.jl and PlotlyJS.jl use the same plotting backend.
What's most likely happening is that PlotlyJS.Plot
put the array of PlotlyFrame
elements somewhere that JSON3.write
does not know about.
We could try to patch
Lines 3 to 7 in 4866259
accordingly.
from dash.jl.
@etpinard Oh thanks for the response. Okay, so is this code that would go into a Dash.jl pull request or something that I can just add to my own code to override the existing dispatch?
Should I try and submit this code change as a PR?
from dash.jl.
Yep, ideally it would go in a Dash.jl pull request. This is a bug we want to fix!
from dash.jl.
I can submit a PR, no problem. Is there a test case that I should add to try this, or do I not need to add an additional test case. I have not submitted a PR to Dash.jl before, so just want to make sure I do it correctly.
from dash.jl.
Is there a test case that I should add to try this,
Unfortunately, similar PRs #143 and #166 relied on integration tests to lock down their patches.
If you can get the integration test running on your machine, adding a similar integration test file would be fine.
Otherwise, a new @testset
block in test/core.jl
would be great.
from dash.jl.
@etpinard say, as a temporary workaround, can I just write my own Play button and Slider using Dash components? I can compute the frames and save them in a Store, and then load them manually.
I was not sure how to update a frame in a plot though--is that possible? I only have 1 animated trace out and 3 static traces in my plot. If I just update the data
in the Plotly Graph Object, then I imagine that is the best way to do it--instead of repainting the whole plot. I can try that as a temporary workaround as I try and get the main issue fixed.
from dash.jl.
Related Issues (20)
- ArgumentError: Distributed.var doesn't have a defined StructTypes.StructType HOT 2
- 3D plot combining line and surface HOT 2
- Feature: Type -> Component mapping with weakdeps
- Using python libs in Dash.jl
- Write (python) dash vs Dash.jl feature comparison table HOT 4
- markdown with latex support HOT 1
- Warning during precompilation HOT 1
- Advanced checklist HOT 1
- Support background callbacks HOT 1
- Support figures generated by Plots.jl with a PlotlyBackend HOT 1
- UndefVarError for html components HOT 3
- Try Dash.jl with React 18
- Move `DashBase.to_dash` type-piracy definitions to DashBase repo HOT 2
- Experiment with `PrecompileTools.jl` to speed up TTFX
- Test failing with Julia 1.10.0-beta3 HOT 2
- Circular callbacks with multiple callbacks seem to work HOT 2
- Accept app root path as kwarg to `dash` method? HOT 5
- Why has the DashCoreResources repo been archived? HOT 9
- Editable Tables examples not working HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash.jl.