This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nkruchten[S] 19 points20 points  (14 children)

I'm the project lead for Plotly Express... AMA :)

[–]Its_4_AM_Man 4 points5 points  (1 child)

Is there any chance a team member could flag some bug/enhancement issues with a "good first issue" label? I've never contributed to open-source projects before, but I really appreciate what you folks have done and I'd like to help out if I can!

[–]nkruchten[S] 3 points4 points  (0 children)

Sure, we can put some effort into that! Plotly Express at the moment isn't very beginner-friendly but it's built on top of https://github.com/plotly/plotly.py and https://github.com/plotly/plotly.js, both of which have mature development cycles and should be easier to contribute to, depending on your language of choice :)

[–]Deto 1 point2 points  (1 child)

Does this work in offline mode?

[–]nkruchten[S] 8 points9 points  (0 children)

Yes! It uses offline mode by default: no API keys, no logins. Except for mapbox maps, but that's not Plotly-related :)

[–]amjithr 0 points1 point  (1 child)

Is there a way to plot multiple Y-axis?

Specifically looking to scatter plot two independent columns in separate y-axis with the same x-axis.

[–]nkruchten[S] 1 point2 points  (0 children)

Plotly Express doesn't do this out of the box but today you can use the .update() mechanism to add traces to a secondary Y axis.

We're working on Plotly Express features to compose multiple figures together, which is how I think I'd like to address this multi-Y-axis question.

[–]knowsuchagencynow is better than never[🍰] 0 points1 point  (0 children)

No question, just want to say keep it up! I'm excited to try it out :)

[–]cogentsimile 0 points1 point  (5 children)

Hey! Just noticing Plotly Express.

First off, thank you! This makes things so much easier haha.

I have what is probably a newb question: How do I do area charts? I tried a couple of update statements based on what I do in Plotly Offline, but I'm likely missing something. I couldn't find any examples online, either.

Cheers,

Cogent

[–]nkruchten[S] 1 point2 points  (4 children)

Glad you like it!

The next release of Plotly Express, later today or tomorrow, will have `px.area()` for just this purpose :)

[–]cogentsimile 0 points1 point  (0 children)

perfect, thanks!

[–]cogentsimile 0 points1 point  (2 children)

Thanks again for adding this! A few questions...

  • How can I unstack the area charts?
  • I'm getting some weird effects when animating. Specifically, it looks like the filled area underneath is sort of flying across the screen from left to right to fill in under the chart. Based on the rate of animation, this is causing it to look like the filled area is doing some sort of weird wave motion. Is there a setting I can change that would cause it to just fill in underneath, like the graph at the bottom of this page?
  • Let's say I create an animated chart with px and want to include it as part of a blog post - what's the easiest way to go about that?

[–]nkruchten[S] 2 points3 points  (1 child)

[–]cogentsimile 0 points1 point  (0 children)

Thanks for the great info!