We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, It seems that geom_text() in plotnine version '0.7.1' is not compatible with python 3.8.3.
In the function __init__ of the class geom_text:
__init__
if mapping raise: ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
if mapping
ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
This two lines need to be updated :
if mapping and 'hjust' in mapping: mapping['ha'] = mapping.pop('hjust') if mapping and 'vjust' in mapping: mapping['va'] = mapping.pop('vjust')
Ty for your work, plotnine is awesome :)
The text was updated successfully, but these errors were encountered:
Use keyword arguments for data=*.
data=*
Sorry, something went wrong.
7189c79
No branches or pull requests
Hello,
It seems that geom_text() in plotnine version '0.7.1' is not compatible with python 3.8.3.
In the function
__init__
of the class geom_text:if mapping
raise:
ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
This two lines need to be updated :
Ty for your work, plotnine is awesome :)
The text was updated successfully, but these errors were encountered: