Thanks to visit codestin.com
Credit goes to github.com

Skip to content

update modebar docs #1668

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 9 commits into from
Jan 29, 2020
Merged

update modebar docs #1668

merged 9 commits into from
Jan 29, 2020

Conversation

jdamiba
Copy link
Contributor

@jdamiba jdamiba commented Jan 24, 2020

The purpose of this PR is twofold:

First, to update some of the language around modebar configuration to make more explicit what options users have to add or remove icons.

  • delete old examples
  • write new examples

Second, to bring this doc page in line with other pages in terms of having example figures generated inline rather than using embedded codepens.

  • remove plot_url front-matter to inline chart
  • make sure all figures render appropriately

Thanks @Mahdis-z for pointing this out!

@jdamiba jdamiba changed the title inline example figures in JS config docs update modebar docs Jan 24, 2020
@jdamiba jdamiba mentioned this pull request Jan 24, 2020
@jdamiba jdamiba requested a review from antoinerg January 24, 2020 22:33
@@ -0,0 +1,21 @@
---
name: Display Modebar
Copy link
Contributor

Choose a reason for hiding this comment

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

instead of "hide" and "display" the modebar can we find some way of saying "Disable modebar" and "Force modebar to be always visible" with an explanation of the default behaviour and what this override does?

I say this because the modebar already does "hide" and "display" by default, so just saying "hide" and "display" isn't quite clear enough.

Copy link
Contributor

Choose a reason for hiding this comment

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

We could also just restore the old title with the "always" for now and fix it later :)

@nicolaskruchten
Copy link
Contributor

💃 once we address the "always" comment

@jdamiba jdamiba merged commit d77e39e into source-design-merge Jan 29, 2020
@jdamiba jdamiba deleted the update-modebar branch January 29, 2020 20:46
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.

2 participants