Comments (5)
You can do this by adding traces to the Figure object returned by px
using the normal plotly
methods like .add_trace()
or .update()
. We're working on a way to merge two px
-produced Figure
s together to do this, but that API isn't ready yet.
from plotly_express.
This would be great to add. I am having the same issue with adding multiple px.bar() traces to a chart. I can use fig.add_trace(go.bar() but the color scale is soooo easy to set in px.bar and not in go.bar.
from plotly_express.
Closing in favour of plotly/plotly.py#2648
from plotly_express.
Hey @nicolaskruchten ,
You can do this by adding traces to the Figure object returned by px using the normal plotly methods like
.add_trace()
or.update()
. We're working on a way to merge two px-produced Figures together to do this, but that API isn't ready yet.
Is the API ready yet ? or is there any workaround for overlaying px.timeline
and px.scatter
.
Thanks.
from plotly_express.
No, plotly/plotly.py#2648 is still open.
from plotly_express.
Related Issues (20)
- Marginal subplots disappear when selecting another frame HOT 1
- range_theta in polar plots would be nice HOT 2
- `category_orders` does not raise an error with incorrect column name HOT 3
- ImportError: cannot import name 'ensure_writable_plotly_dir' HOT 1
- plotly.express does not interact properly with panel in jupyter notebook HOT 4
- TypeError: imshow() got an unexpected keyword argument 'x' HOT 4
- Plotly Express shows blank plot for chloropleths on virtual machine! Error: 404 GET/static/plotly.js! how to resolve this?
- Facet Grids with Overlay Lines HOT 1
- Argument for plots to become non-interactive to save memory in Jupyter HOT 1
- Image export ignores layout for plot size (using )
- Density Contour range_z
- plotly loop in loop HOT 1
- How to use countplot() in plotly with VAEX data frame? HOT 9
- Using px.density_contour with both marginal_x and contours_coloring causes error HOT 2
- Fill between two vertical lines but multiple times
- Adding bar traces with add_trace gives different x-axis spacing than adding strip or box traces
- Not working with IPython
- plotly express shows Invalid property latitude for choropleth map plot
- Wrong y-values when using bar graph HOT 1
- Error occured while creating the select button. HOT 1
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 plotly_express.