mistic-lab / rfind-monitor

GNU General Public License v3.0
0 stars 0 forks source link

share x-axis #1

Open nsbruce opened 3 years ago

nsbruce commented 3 years ago

x axes should be linked. This can either be done by:

  1. doing some warped callback nonsense
  2. by putting both figs into subplots then dcc.Graph-ing the parent one.

The issue with 1 is that I don't know how to update the axes from a callback.

The issue with 2 is that I don't know how to extendData for subplots.

nsbruce commented 3 years ago

https://github.com/plotly/dash-datashader

This repo doesn't change the axis on the second plot but it does highlight the region. That's an approach too I suppose. As well iit might introduce how to do it for the whole axis