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

geom_path doesn't support different colors for segments #313

Closed
igRo opened this issue Feb 12, 2021 · 0 comments
Closed

geom_path doesn't support different colors for segments #313

igRo opened this issue Feb 12, 2021 · 0 comments
Assignees

Comments

@igRo
Copy link
Member

igRo commented Feb 12, 2021

Different colors for path segments are not supported.

Steps:

  • execute the following code:
import pandas as pd
import numpy as np
from lets_plot import *
x = np.random.uniform(-1, 1, size=100)
y = np.random.normal(size=100)
dat = pd.DataFrame({'x': x, 'y': 25 * x ** 2 + y})
ggplot(dat, aes(x='x', y='y', color='y')) + geom_path()

Expected:

  • different segments are drawn with different colors
    Screenshot 2021-02-12 at 13 03 08

Actual:

  • the same color is used for all segments
    Screenshot 2021-02-12 at 13 03 25
@alshan alshan added this to the 2021Q4 milestone Oct 27, 2021
@alshan alshan self-assigned this Oct 27, 2021
@alshan alshan modified the milestones: 2021Q4, 2022Q1 Dec 28, 2021
@alshan alshan modified the milestones: 2022Q1, 2022Q2 Mar 30, 2022
@alshan alshan modified the milestones: 2022Q2, 2022Q3 Jun 29, 2022
@alshan alshan modified the milestones: 2022Q3, 2022Q4 Sep 28, 2022
@alshan alshan modified the milestones: 2022Q4, 2023Q1 Dec 28, 2022
@alshan alshan modified the milestones: 2023Q1, 2023Q2 Mar 30, 2023
@alshan alshan modified the milestones: 2023Q2, 2023Q3 Jun 28, 2023
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