Plotly.py: Wishlist: doc examples wanted

Created on 28 Nov 2019  路  13Comments  路  Source: plotly/plotly.py

Most items coming from questions on the community forum

documentation good first issue

Most helpful comment

I removed some of the completed examples from the list, so that the existing list is more readable.

All 13 comments

I've tagged this issue as a good first issue since some examples are quite easy to add (especially if the forum posts have some code examples). Items which have already been ticked are already done. Feel free to ask questions here if you would like to contribute an example but are unsure about how to do it. Please also refer to the doc README https://github.com/plotly/plotly.py/blob/master/doc/README.md

Here is also a couple of searches with no result on the doc website, which should return something

  • [ ] lasso and box selection (we do have a page for selection-events but it's for FigureWidget, we don't have anything for selections in plotly figures I believe, only in the config page maybe)
  • [ ] io
  • [ ] modebar
  • [ ] various figure factory names (create_gantt, create_distplot, create_trisurf)
  • [ ] drilldown (to be added to sunburst and treemap)
  • [ ] figsize (this is the matplotlib parameter, we might mention in when talking about the width and height of a figure).

I can help with that (I have experience with Plotly, but it's my first Open Source contribution). Are some of the tasks in progress? Or I can pick any that is not done?

Thank you @SylwiaOliwia2! I've updated the list by ticking contributions in progress, it was indeed not completely up to date :-). You can also write here on which example you would like to work on, or tick the corresponding box so that we know you're working on it. Thanks again :-)

I'll start with the following:

  • [x] add coloraxis example to the subplots tutorial - Pull request #2226
  • [x] example with legend only for a trace - Pull request #2227
  • [x] add an example with matching axes (matches="x")
  • [x] on histogram tutorial, mention that we cannot access the values of counts (it's asked a lot), and maybe mention numpy's function for this. #2242

I'll keep updating this post about the tasks resolved by me.

@emmanuelle

on histogram tutorial, mention that we cannot access the values of counts (it's asked a lot), and maybe mention numpy's function for this.

you mean that we can't display the total count of the histogram (ex. 25 for the selected items below)?
Plotly_hist

@SylwiaOliwia2 thanks for your PRs! Regarding the histogram, what I meant is that you cannot access the count values _from Python_. As you show in the figure, you can indeed see the count in the hover but it stays in Javascript. Is this clear enough? This confused me a bit when I started using plotly.py

I removed some of the completed examples from the list, so that the existing list is more readable.

  • [x] example with colored links in sankey page #2291
  • [x] in slider page, add example using the update method #2300

@emanuelle, regarding

example of shape or annotation covering several subplots thanks to xref='paper'

The xref="paper" makes the annotation static and assumes that all the subplots are one plotting area. That's the point? It seems to be good to add custom legend or description, but not to annotate within the plot. See the example code here.

Is this issue still open?
I want to contribute to it if there is some good first issue to be solved!
Can anyone guide?

This issue is still open, although some have been addressed in #2488 which hasn't been merged yet.

Hi guys, I have used Plotly quite a lot for my school work and I really enjoyed it. I'm hoping to make some contribution to this project. Are the issues here, besides the ones resolved in #2488, still up to date? Would love to pick something simple and get started!

Was this page helpful?
0 / 5 - 0 ratings