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

Deprecate and rename label to vector_text #507

Merged
merged 2 commits into from Jan 18, 2022

Conversation

skoudoro
Copy link
Contributor

@skoudoro skoudoro commented Oct 1, 2021

This is a follow-up of this comment from #489.

The goal is to:

  • rename label(...) to vector_text(...)
  • deprecate label and warn the users of the change

@codecov
Copy link

codecov bot commented Oct 1, 2021

Codecov Report

Merging #507 (b8cf732) into master (78a411c) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           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           
Impacted Files Coverage Δ
fury/fury/tests/test_actors.py 91.57% <0.00%> (+<0.01%) ⬆️
fury/fury/actor.py 87.73% <0.00%> (+0.01%) ⬆️

@@ -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")
Copy link
Contributor

Choose a reason for hiding this comment

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

Hello?

Copy link
Contributor

@Garyfallidis Garyfallidis left a comment

Choose a reason for hiding this comment

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

See above.

@Garyfallidis
Copy link
Contributor

One of the tests is failing in relation to slicer I think. Can you check? Is that a random error?

@Garyfallidis
Copy link
Contributor

All green! Let's go! Merging ...

@Garyfallidis Garyfallidis merged commit d12f9ed into fury-gl:master Jan 18, 2022
@skoudoro skoudoro deleted the deprecate_label branch October 13, 2022 12: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.

None yet

2 participants