Skip to content

Commit c92cf4c

Browse files
committed
Added ref to plotly issue in patchLonelyDatapoints
1 parent 5ccb3c3 commit c92cf4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plotly-graph-card.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const isNumber = (y: any) => !Number.isNaN(parseFloat(y));
3434

3535
function patchLonelyDatapoints(xs: Datum[], ys: Datum[]) {
3636
/* Ghost traces when data has single numeric value sandwiched between unavailable, unknown, etc ones
37+
Plotly issue: https://github.com/plotly/plotly.js/issues/6407
3738
see: https://github.com/dbuezas/lovelace-plotly-graph-card/issues/103
3839
and: https://github.com/dbuezas/lovelace-plotly-graph-card/issues/124
3940
*/

0 commit comments

Comments
 (0)