Skip to content

Create subplots over groupby rather then by #157

@jsignell

Description

@jsignell

I am not sure how the ambiguity of this should be handled, but I have a plot with both a groupby and a by. I don't want to have a selector widget so I'd like to be able to get subplots using subplots=True. But this splits into subplots over the by field rather than the groupby

screen shot 2019-01-31 at 1 13 45 pm

To Reproduce:

import pandas as pd
import hvplot.pandas

df = pd.read_csv('benchmarking.txt')
df['total_cores'] = df['njobs'] * df['ncores']

df.hvplot('total_cores', 'seconds', by='nworkers', groupby='operation', subplots=True,
                width=400, height=400, ylim=(0,1))

benchmarking.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    [OLD] type: discussionOld labels for Discussion-type issues. Convert new Issues of this type to GitHub Discussions.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions