holoviz-topics / EarthSim

Tools for working with and visualizing environmental simulations.
https://earthsim.holoviz.org
BSD 3-Clause "New" or "Revised" License
65 stars 21 forks source link

What happens when one annotator object is visualized in two different cells? #231

Closed kcpevey closed 5 years ago

kcpevey commented 5 years ago

I created an annotator object, visualized it, then a few cells later, visualized the same annotator again. Strange things started happening. First, the point_table wasn't reprojected to PlateCarree, then sometimes points wouldn't show up on the drawing. Then sometimes the point would show up on the drawing, but not in point_table.

Once I thought this through, I can see why I shouldn't reuse an annotator object. However, supposing I had done this on accident, the behavior is bizarre. Is there anything that can be done for that? To either allow it or explicitly disallow it?

kcpevey commented 5 years ago

Closing. Reopen if its still an issue.