Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Conversation

@nicolaskruchten
Copy link
Contributor

closes #70

@nicolaskruchten
Copy link
Contributor Author

This PR now has px defer to the default template if it's not None, and reads the colors from the template.

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 idea here to catch a go.layout.Template object being passed in directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah

Copy link
Contributor

@jonmmease jonmmease left a comment

Choose a reason for hiding this comment

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

Looks good. Will be nice to have the styling logic more unified like this.

@nicolaskruchten
Copy link
Contributor Author

Thanks!

This is a case where tests will be useful :)

I’ll add an issue to unit test this function.

@nicolaskruchten nicolaskruchten merged commit 9ec0e03 into master May 10, 2019
@nicolaskruchten nicolaskruchten deleted the templates branch May 10, 2019 18:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plotly Express does not play well with templates

3 participants