Skip to content

Conversation

@VeraZab
Copy link
Contributor

@VeraZab VeraZab commented Feb 14, 2018

  • xref/yref in annotations (next pr)

<ColorPicker label={_('Font Color')} attr="titlefont.color" />
</AxesFold>
<AxisRequiredPanel
emptyPanelHeader={_('Your plot does not have any axes to style.')}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just wrapped everything in AxisRequiredPanel here

@VeraZab VeraZab changed the title [WIP] Axes for all Axes for all Feb 14, 2018
this.axes = [];

// Plotly.js should really have a helper function for this, but until it does..
Object.keys(fullContainer._subplots)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, so subplots will be step 2, after this pr, that is why I disabled a test somewhat related to them, above.
Need to think about this a little more when I'm writing this function here.

@VeraZab
Copy link
Contributor Author

VeraZab commented Feb 14, 2018

@nicolaskruchten this is a first pass that takes care of axes for all plot types, and does not use the plotly.Axes.list() function that doesn't work on plots other than cartesian.

I'm taking care of subplots next..

Would you give this a look?

@nicolaskruchten
Copy link
Contributor

💃

@VeraZab VeraZab merged commit 7f15f42 into master Feb 15, 2018
@VeraZab VeraZab deleted the axes-for-all branch February 15, 2018 15:37
@VeraZab VeraZab mentioned this pull request Feb 15, 2018
3 tasks
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.

3 participants