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

Plot takes several minutes to show when scale_color_discrete is used. #119

Closed
alshan opened this issue Apr 20, 2020 · 1 comment
Closed

Comments

@alshan
Copy link
Collaborator

alshan commented Apr 20, 2020

Data: https://drive.google.com/file/d/1mXE8hlzkUh04E0DAdYiZWNtL0Hhc9eae/view?usp=sharing

notebook:

import pandas as pd
from lets_plot import *

LetsPlot.setup_html()

data_enc = pd.read_csv("lets_plot_issue_119.csv")
# !!! This takes several minuts to show plot
ggplot(data_enc) \
        + geom_point(aes('x1', 'x2', color='y')) \
        + scale_color_discrete()
# This is OK
ggplot(data_enc) \
        + geom_point(aes('x1', 'x2', color='y'))
@IKupriyanov-HORIS
Copy link
Collaborator

IKupriyanov-HORIS commented Apr 30, 2020

Fixed

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