plotly / plotly.py

The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
https://plotly.com/python/
MIT License
16.01k stars 2.53k forks source link

Wishlist: doc examples wanted #1965

Open emmanuelle opened 4 years ago

emmanuelle commented 4 years ago

Most items coming from questions on the community forum

emmanuelle commented 4 years ago

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

emmanuelle commented 4 years ago

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

SylwiaOliwia2 commented 4 years ago

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?

emmanuelle commented 4 years ago

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 :-)

SylwiaOliwia2 commented 4 years ago

I'll start with the following:

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

SylwiaOliwia2 commented 4 years ago

@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

emmanuelle commented 4 years ago

@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

emmanuelle commented 4 years ago

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

SylwiaOliwia2 commented 4 years ago
SylwiaOliwia2 commented 4 years ago

@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.

ineelshah commented 4 years ago

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

nicolaskruchten commented 4 years ago

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

Gravellent commented 3 years ago

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!

aditya172926 commented 2 years ago

Hey, I want to make some contributions to Plotly as I have been using it a lot lately but this will be my first open-source contribution. So, I have to select any task from the checklist pinned at the top, right? Confirmation on this will be great and I'll start.