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

NPE on negative value in data and scale_xxx(trans='log10') #292

Closed
IKupriyanov-HORIS opened this issue Jan 18, 2021 · 1 comment
Closed
Assignees

Comments

@IKupriyanov-HORIS
Copy link
Collaborator

Code:

from lets_plot import *
LetsPlot.setup_html()
data = {
    'x': [0, 1, 2, 3],
    'y': [0, 1, 4, 9],
    'v': [-1, 0, 1, 81],
}
ggplot(data, aes(x='x', y='y')) + geom_point(aes(color='v')) + scale_color_gradient(trans='log10')

Output:
Internal error occurred in lets-plot: NullPointerException : <no message>

@alshan
Copy link
Collaborator

alshan commented Mar 26, 2021

Related #301

@alshan alshan added this to the 2021Q3 milestone Jun 28, 2021
@alshan alshan self-assigned this Jul 2, 2021
@alshan alshan closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants