Skip to content

Commit 73d18b9

Browse files
authored
Merge pull request #308 from pathsim/fix/plotly-disable-tips
Disable Plotly reset-axes tip popup
2 parents 0e92247 + 1e5972d commit 73d18b9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/lib/plotting/core/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ export const MARKER_SYMBOL_PLOTLY: Record<MarkerStyle, string> = {
107107
export const PLOTLY_CONFIG: Partial<Plotly.Config> = {
108108
responsive: true,
109109
displaylogo: false,
110+
// Suppress Plotly's "Double-click to zoom back out" / reset-axes tip popup.
111+
showTips: false,
110112
displayModeBar: 'hover',
111113
modeBarButtonsToRemove: ['lasso2d', 'select2d'],
112114
modeBarButtonsToAdd: [],

0 commit comments

Comments
 (0)