Plot Options#
Access per-viewer and per-layer plotting options.
Overview#
This plugin gives access to per-viewer and per-layer plotting options.
UI Access#
User API#
User API Example
See the PlotOptions user API documentation for more details.
import jdaviz as jd
import lcviz
from lightkurve import search_lightcurve
lc = search_lightcurve("HAT-P-11", mission="Kepler",
cadence="long", quarter=10).download().flatten()
jd.load(lc, format="Light Curve")
jd.show()
po = jd.plugins['Plot Options']
print(f"viewer choices: {po.viewer.choices}")
po.viewer = po.viewer.choices[0]
print(f"layer choices: {po.layer.choices}")
po.layer = po.layer.choices[0]
po.marker_size = 4
po.marker_color = 'blue'
See also
- Jdaviz Plot Options
Jdaviz documentation on the Plot Options plugin.