Skip to content

legendgroup and other legend attrs #739

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

Merged
merged 1 commit into from
Sep 10, 2018
Merged

legendgroup and other legend attrs #739

merged 1 commit into from
Sep 10, 2018

Conversation

dmt0
Copy link
Contributor

@dmt0 dmt0 commented Sep 7, 2018

closes #737

@dmt0 dmt0 requested a review from nicolaskruchten September 7, 2018 21:48
@dmt0 dmt0 force-pushed the legendgroup branch 2 times, most recently from 0152938 to 2b627f7 Compare September 7, 2018 22:02
import Button from '../widgets/Button';
import {PlusIcon} from 'plotly-icons';

class UnconnectedLegendgroupCreator extends Component {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's generalize this into a GroupCreator with a prefix attr so we can immediately reuse it for stackgroup

<NumericFraction label={_('Trace Opacity')} attr="opacity" />
<PlotlySection name={_('Show in Legend')}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename section Legend and restore the Show in Legend label for the show/hide button.

<NumericFraction label={_('Trace Opacity')} attr="opacity" />
<PlotlySection name={_('Legend')}>
<ShowInLegend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the groupcreator meant to be IN the ShowInLegend? If i set it to 'hide' I still see the groupcreator

@nicolaskruchten
Copy link
Contributor

💃 thanks!

@dmt0 dmt0 merged commit acaebc1 into master Sep 10, 2018
@dmt0 dmt0 deleted the legendgroup branch September 10, 2018 19:21
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

Successfully merging this pull request may close these issues.

legendgroup widget
2 participants