-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Enabled warnings about the use of __call__ on travis #1779
Conversation
Issue #1758 will also be helpful to find remaining uses of |
I expect Travis to flag these uses (found in #1758):
I will go through these notebooks now and update them. |
The grep lines mentioning the stream notebooks are false positives. All the warnings on travis should now be fixed though there still seems to be one in Showcase somewhere that did not show up in grep (applying to a HoloMap?) |
There are no more warnings on Travis and the tests are green - now to fix all the notebooks in |
I'll now work through the uses in
|
I have checked the grep results above and found that all these uses have been fixed already. |
I'll now make sure these are all fixed (everything left except user guide):
|
Other some uses of |
Finally, to check the user guide:
|
The user guide was updated so I just updated a few unit tests, concluding all the replacements I know of. |
@philippjfr Once the tests go green, I think this is ready to merge. Do you know of anywhere else in the codebase that |
I'm sure it needs fixing in some .ipynb files on datashader, and maybe on paramnb. |
@jbednar I was only thinking of the HoloViews codebase for now. Do you think I should enable the warnings by default for everyone else? i.e for other libraries and user code? |
Actually, thinking about it, we shouldn't introduce those warnings in a minor release. I think this is ready to merge if |
At some point, yes... |
Namely the 1.9 release. |
Looks fine, ready to merge? |
Yes. |
* Enabled warnings about the use of __call__ on travis * Replaced uses of __call__ with opts in Bokeh Elements notebook * Replaced uses of __call__ with opts in Columnar Data notebook * Replaced uses of __call__ with opts in Elements notebook * Replaced uses of __call__ with opts in Options notebook * Replaced uses of __call__ with opts in Sampling Data notebook * Replaced remaining uses of __call__ in doc/Tutorials * Replaced uses of __call__ in the legend_example notebooks * Replaced uses of __call__ with .opts in store option tests
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. |
This change should help us detect uses of
__call__
for styling (now deprecated).