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

Misleading error message #271

Closed
IKrukov-HORIS opened this issue Dec 18, 2020 · 2 comments
Closed

Misleading error message #271

IKrukov-HORIS opened this issue Dec 18, 2020 · 2 comments
Assignees

Comments

@IKrukov-HORIS
Copy link
Contributor

Too big threshold stat_corr parameter can lead to misleading error message.

Screenshot from 2020-12-17 17-22-14

This error is not related to stat_corr, similar message will be produced with the following code snippet:

from lets_plot import *
LetsPlot.setup_html()
data = { 'x': [] }
(ggplot(data) +
geom_point( mapping=aes(x='x', y = 'x', color='x')) +
scale_color_gradient2(breaks = [-1.0, 0.0, 1.0], limits =[-1.0, 1.0]))

@alshan alshan added this to the 2021Q2 milestone Mar 26, 2021
@alshan alshan modified the milestones: 2021Q2, 2021Q3 Jun 28, 2021
@alshan alshan self-assigned this Aug 2, 2021
@alshan
Copy link
Collaborator

alshan commented Aug 2, 2021

The error-message for the second code snipper id currently

Can't create mapper for discrete domain: '-1.0', '0.0', '1.0'

Which also doesn't seem right.

alshan added a commit that referenced this issue Aug 3, 2021
…ype of the scale (discrete/continuous). Related to #271.
@alshan alshan modified the milestones: 2021Q3, 2021Q4 Sep 28, 2021
@IKupriyanov-HORIS
Copy link
Collaborator

Fixed:
image

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

3 participants