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.

Undo/redo tools can't undo box/lasso selection

See original GitHub issue
import hvplot.pandas
from holoviews.selection import link_selections
import colorcet as cc

link = link_selections.instance()
data_s = data.sample(n=1000)
bb = link(data_s.hvplot.scatter(
        x='x', y='y',c='count', cnorm='eq_hist', 
        cmap=cc.rainbow,
        width=600, height=500,
        padding=(0.1, 0.1),
        dynspread=True,
        datashade=True,
        tools=['undo', 'redo']

    ).opts(bgcolor='#2F2F4F'), selection_mode='union')
bb

GIF 2021-9-22 17-04-42

Undo/redo tools don’t behave as expected, what can i do to undo lasso/box selection.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jlstevenscommented, Sep 28, 2021

Is there any possible I can use poly_edit tool at data selection?

I think this would be a nice feature request!

I hadn’t thought about using the poly edit tool in this way but it does make sense.

0reactions
molindoudoucommented, Sep 29, 2021

lasso select work fine, not as slow as poly select.

Ah sorry for my confusion, honestly very surprised poly_select works at all I never used it or implemented support for it.

Is there any possible I can use poly_edit tool at data selection?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undo/redo and history in Adobe Photoshop
Undo or redo multiple steps in Photoshop. ... Use the History Brush tool to paint with the selected state or snapshot on the...
Read more >
Undo Options in Pro Tools - YouTube
An overview of various ways of undoing your work in Pro Tools. ... Your browser can't play this video. Learn more. Switch camera....
Read more >
How to Use The LASSO Tool in Photoshop! - YouTube
Is there another way of creating selections in Adobe Photoshop that doesn't just limit you to the basic shapes in Marquee Tool ?...
Read more >
How to Use the Object Selection Tool in Photoshop 2022
Learn how to quickly select people or objects in your image using the improved Object Selection Tool in Photoshop 2022, and how the...
Read more >
The Polygonal Lasso Tool - Photoshop Selections
Just press the Backspace (Win) / Delete (Mac) key on your keyboard to undo the last point you added. If you need to...
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