Skip to content
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

importing ggplot from plotnine #705

Closed
sarakolding opened this issue Aug 2, 2023 · 2 comments
Closed

importing ggplot from plotnine #705

sarakolding opened this issue Aug 2, 2023 · 2 comments

Comments

@sarakolding
Copy link

Since updating plotnine, when importing ggplot as
from plotnine import ggplot

I get the following pyright error, although the code functions as expected:

error: "ggplot" is not exported from module "plotnine" Import from "plotnine.ggplot" instead (reportPrivateImportUsage)

seems to be related to this issue in torch: microsoft/pylance-release#2953

python 3.10.4
plotnine 0.12.2
pyright 1.1.320

@has2k1
Copy link
Owner

has2k1 commented Aug 3, 2023

This is the same as #685 which was fixed but has not shipped.

@has2k1 has2k1 closed this as completed Aug 3, 2023
@sarakolding
Copy link
Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants