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
Deprecate and rename label to vector_text #507
Conversation
Codecov Report
@@ Coverage Diff @@
## master #507 +/- ##
=======================================
Coverage 81.86% 81.87%
=======================================
Files 54 54
Lines 10616 10618 +2
Branches 1069 1069
=======================================
+ Hits 8691 8693 +2
Misses 1661 1661
Partials 264 264
|
9fa2e65
to
c28fbcf
Compare
fury/tests/test_actors.py
Outdated
@@ -804,7 +804,8 @@ def test_points(interactive=False): | |||
|
|||
|
|||
def test_labels(interactive=False): | |||
text_actor = actor.label("Hello") | |||
npt.assert_warns(DeprecationWarning, actor.label, "hello") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above.
One of the tests is failing in relation to slicer I think. Can you check? Is that a random error? |
e0106e7
to
a2f7e1b
Compare
a2f7e1b
to
b8cf732
Compare
All green! Let's go! Merging ... |
This is a follow-up of this comment from #489.
The goal is to:
label(...)
tovector_text(...)
label
and warn the users of the change