DistanceLabel#

class jdaviz.core.marks.DistanceLabel(**kwargs: Any)[source]#

Bases: Label, PluginMark, HubListener

A specialized bqplot Label for use with the DistanceMeasurement tool.

This class inherits from the Jdaviz PluginMark to integrate with the application’s hub and event system, but overrides the unit conversion methods to prevent the label’s pixel-based coordinates from being erroneously converted.

Public constructor

Methods Summary

update_position(x, y, text)

Methods Documentation

update_position(x, y, text)[source]#