Skip to content
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

Replace (...) with .opts() #1760

Closed
wants to merge 3 commits into from

Conversation

jordansamuels
Copy link
Contributor

  • Complements Docs and minor code fixes #1759
  • Execute git grep -lE '\)\((style|plot|norm)=' -- examples | xargs perl -pi -e 's/\)\((style|plot|norm)=/).opts($1=/g'
  • Spot check notebooks

* Complements holoviz#1759
* Execute `git grep -lE '\)\((style|plot|norm)=' -- examples | xargs  perl -pi -e 's/\)\((style|plot|norm)=/).opts($1=/g'`
* Spot check notebooks
@jlstevens
Copy link
Contributor

@jordansamuels Your regex-fu is certainly better than mine!

I have now merged #1759 so you could rebase this PR off latest master? I can then try out this branch for some final checks. Alternatively, I can do the rebase if you give me the go-ahead because you have finished with your current set of changes.

@jordansamuels
Copy link
Contributor Author

I found a few more, will update soon

ea42gh and others added 2 commits July 27, 2017 08:02
* __call__ to .opts() mods

* __call__ to .opts() mods

* __call__ to .opts() mods
* Manually search `git grep ')(' -- examples | grep -vE '.{255}'
* Fix cases by hand
`
@jordansamuels
Copy link
Contributor Author

I picked up 1759 in this, so I'm not sure it'll go okay. If not, I can make a separate PR. I think this is because I pushed the branch then rebased rather than merged to update fork.

@jordansamuels
Copy link
Contributor Author

Actually I'm going to close this and make a new one. Cleaner and doesn't pollute the history.

@jordansamuels jordansamuels mentioned this pull request Jul 27, 2017
@jordansamuels jordansamuels deleted the add_opts_in_doc branch July 27, 2017 13:50
@jordansamuels
Copy link
Contributor Author

Cleaner version is #1763.

Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
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.

3 participants