ipyvolume icon indicating copy to clipboard operation
ipyvolume copied to clipboard

Questions: legend, annotations, ticks.

Open jmlipman opened this issue 5 years ago • 2 comments

Hello!

Amazing library. Coming from Matplotlib there are some things that I've missed in ipyvolume. Maybe I couldn't find them but I've tried to google them, checked in the documentation and also in github.

  1. How to get a legend?
  2. How to modify the ticks of the axes?
  3. How to add text/annotations?
  4. How to access to the very "low" properties of everything (coordinates, font, color, ...)? For example, in matplotlib you can select exactly where you want the legend, the space between the elements within the legend, even using custom colors

Thanks!

jmlipman avatar Oct 03 '20 16:10 jmlipman

Hi,

legend are now included by default (since 0.6.0a9), see e.g.: https://ipyvolume.readthedocs.io/en/latest/examples/popup.html That can show interactive annotations (not persistent, but a popup). There is not really low level access for fonts, coordinates etc since everything needs to cross the Python-javascript world, supporting all that is a lot of work.

Hope I've partially answered your questions.

cheers,

Maarten

maartenbreddels avatar Oct 29 '21 19:10 maartenbreddels