Plotly: How to only show vertical and horizontal line (crosshair) as hoverinfo?
问题 I want to plot a chart with two subplots in plotly dash. My entire chart looks like this: import pandas as pd import numpy as np import dash import dash_core_components as dcc import dash_html_components as html import plotly.graph_objs as go from plotly.subplots import make_subplots df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/finance-charts-apple.csv').iloc[:60] fig = make_subplots(rows=2, cols=1, row_heights=[0.8, 0.2], vertical_spacing=0) fig.add_trace(go