question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make text appear and disappear again

See original GitHub issue

Hi, thanks for such a great tool!

I’m trying to have changing text in an animation and don’t manage to properly make it appear and disappear. Consider this example:

from vtkplotter import Text, screenshot, Plotter

vp = Plotter(axes=0, interactive=0)

for i in [1,2,3]:
    text = Text('%03d' %i)
    # vp.actors = [text] # this produces different results
    vp.add(text)
    vp.show()
    screenshot('test_%03d.png' %i)
    vp.remove(text)

Output: test_000.png shows 001 instead of 002…

Thanks a lot!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
m-albertcommented, Jun 17, 2019

Hi Marco,

nice, after updating to your new version I get the same output as you!

As your comment says, embedWindow(False) is needed on ipython or jupyter. Also the normal python console seems to be fine with it.

Thanks a lot for following up on the issue!

Cheers, Marvin

1reaction
marcomusycommented, Jun 13, 2019

Hi again, I tried on my mac and YES, i can reproduce the issue! i´ll investigate that, thanks for spotting the issue, and get back to you asap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Make Your Text Appear and Disappear in TikTok Videos
To make the text appear and disappear in your TikTok video, navigate to the Timeline and select the text overlay and by dragging...
Read more >
How to Make Text Appear and Disappear in TikTok Videos
Tap at the text that you want to make it appear or disappear. A pop-up menu will be shown above it. Tap “Set...
Read more >
Make Words Disappear and Reappear on TikTok - Instamber
To make words disappear or appear on TikTok, you should use the 'Set duration' feature. It pops up when you tap a text...
Read more >
How do you add text on TikTok and make it disappear? - Quora
Once the text is positioned where you want it, click it again and another menu will pop up. Select “set duration”. A red...
Read more >
How to Make an Object Appear and Disappear in Google ...
If the object contains text, you can select or check By paragraph if you want. You may want to select this option if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found