-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved module level docstrings #793
Conversation
Thanks Marc!
Oh I would not advise anyone to make such an import! (I think the tests are failing because of the latest xarray) |
Co-authored-by: Maxime Liquet <[email protected]>
Co-authored-by: Maxime Liquet <[email protected]>
Co-authored-by: Maxime Liquet <[email protected]>
Co-authored-by: Maxime Liquet <[email protected]>
Co-authored-by: Maxime Liquet <[email protected]>
I still see much value :-)
BeforeAfter
|
I believe the intro section, how to .. in 3 simple steps and help is the most important sections. I have simplified and removed the rest. Thanks for the feedback @maximlt . Let me know if there is more I should do? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great; thanks so much!
Thanks @MarcSkovMadsen for the updates and taking into account my suggestions! I've just realized that starting from Python 3.7 modules can implement |
Co-authored-by: James A. Bednar <[email protected]>
Co-authored-by: James A. Bednar <[email protected]>
I've removed the shim module docstrings @maximlt. Why do we actually not do That would be consistent with the rest of the ecosystem and work better with static type checking tools. |
Thanks!
You can run
How? |
Arf actually I see they're still around. Did you maybe forget to commit? |
…vplot into feature/hvplot-tooltip
I've pushed the changes now @maximlt |
There were still two weird files on your branch. I took the freedom to delete them, they seemed totally unrelated to that PR. Merging, thanks Marc! |
Addresses a small part of #789 by adding module level docstrings.
The aim here is to provide
hvplot
and its resources from the editor.I believe all the
hvplot.pandas
,hvplot.xarray
,hvplot.ibis
needs docstrings that are similar but specialized to the specific data source. These are the entry points for users. Not the top-levelhvplot
module.There is one issue though. VS Code does not show docstring tooltips for nested imports like
import hvplot.pandas
. It only shows forfrom hvplot import pandas
. See microsoft/pylance-release#3093.