Skip to content

Config options update #2199

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 13 commits into from
Apr 6, 2020
Merged

Config options update #2199

merged 13 commits into from
Apr 6, 2020

Conversation

jdamiba
Copy link

@jdamiba jdamiba commented Feb 14, 2020

The purpose of this PR is twofold:

@jdamiba jdamiba changed the base branch from master to doc-prod February 14, 2020 20:11
@jdamiba jdamiba requested a review from emmanuelle February 14, 2020 20:12
Joseph Damiba and others added 2 commits February 14, 2020 15:13
fig.show(config=config)
```

### Display The `Edit In Chart Studio` Modebar Button
Copy link
Contributor

Choose a reason for hiding this comment

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

Not clear to me how this is different from the previous example?

Copy link
Author

Choose a reason for hiding this comment

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

Screen Shot 2020-02-17 at 11 40 56 AM

This example has a button in the modebar rather than the hyperlink in the bottom right of the figure.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, maybe add a sentence here and above, and/or have the two examples in the same section?

fig.show(config=config)
```

##### Making A Responsive Chart
Copy link
Contributor

Choose a reason for hiding this comment

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

This one would deserve more explanations I think: define responsiveness, and comment on figure behaviour when it's responsive. For example when I tried this config parameter does not make a figure responsive (resized when winodw is resized) in a Jupyter notebook, but in a Dash app the figure is responsive by default?

Copy link
Author

Choose a reason for hiding this comment

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

Looking at this example, I think it actually makes more sense to make it about how to disable the default responsive behavior that figures have.

I'm surprised figures aren't responsive in your Jupyter notebook- they are in mine 🤔

@emmanuelle
Copy link
Contributor

Thank you @jdamiba this is a very useful addition! I left some minor comments.

Joseph Damiba and others added 6 commits February 17, 2020 11:35
Co-Authored-By: Emmanuelle Gouillart <emma@plot.ly>
Co-Authored-By: Emmanuelle Gouillart <emma@plot.ly>
Co-Authored-By: Emmanuelle Gouillart <emma@plot.ly>
Co-Authored-By: Emmanuelle Gouillart <emma@plot.ly>
@@ -14,3 +14,5 @@ networkx
scikit-image
datashader
pyarrow
dash_core_components
dash_html_components
Copy link
Contributor

Choose a reason for hiding this comment

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

oh and dash as well :-)

@@ -24,3 +24,5 @@ pathlib
python-frontmatter
datashader
pyarrow
dash_core_components
dash_html_components
Copy link
Contributor

Choose a reason for hiding this comment

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

and dash

@jdamiba
Copy link
Author

jdamiba commented Feb 19, 2020

@nicolaskruchten Can you please take another look at this? I reverted the style issues we are talked about in our meeting earlier this week.

@emmanuelle
Copy link
Contributor

@nicolaskruchten would you like me to take hover reviewing this PR? It would be great to merge it.

@nicolaskruchten
Copy link
Contributor

@emmanuelle yes please :)

@emmanuelle
Copy link
Contributor

Thank you @jdamiba ! This looks good to me 💃. For the "what about Dash" paragraph, is there a way to remove it since you already mention Dash? This can be done later anyway.

@emmanuelle
Copy link
Contributor

I fixed a merge conflict BTW.

@nicolaskruchten nicolaskruchten merged commit 4368a59 into doc-prod Apr 6, 2020
@nicolaskruchten nicolaskruchten deleted the config-optoins-update branch June 19, 2020 16:16
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