From 66401bd45acf935cc785aace4d837389f0966678 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Fri, 31 May 2024 09:53:48 -0600 Subject: [PATCH] change to optional --- libs/plotly/plotly-layout.model.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libs/plotly/plotly-layout.model.ts b/libs/plotly/plotly-layout.model.ts index 392e2ee..94b1dcd 100644 --- a/libs/plotly/plotly-layout.model.ts +++ b/libs/plotly/plotly-layout.model.ts @@ -8,13 +8,12 @@ import { } from 'plotly.js'; export interface PlotlyLayout extends Partial<Layout> { - /** x-axis */ - xaxis: Partial<PlotlyAxis>; - /** y-axis */ - yaxis: Partial<PlotlyAxis>; - /** Aspect ratio of plot */ aspectRatio?: string; + /** x-axis */ + xaxis?: Partial<PlotlyAxis>; + /** y-axis */ + yaxis?: Partial<PlotlyAxis>; } /** -- GitLab