diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index 863daf8085..a34dbf2ab8 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -123,6 +123,7 @@ export interface Layout { dragmode: "lasso" | "pan" | "select" | "zoom"; shapes: Array>; legend: Partial; + font: Partial; } export interface Legend { @@ -150,6 +151,7 @@ export interface Axis { type: AxisType; tickformat: string; hoverformat: string; + exponentformat: "none" | "e" | "E" | "power" | "SI" | "B"; rangeslider: Partial; rangeselector: Partial; range: [Datum, Datum];