Skip to content

Commit

Permalink
Fix plot theme switch
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasnordquist committed Jun 18, 2019
1 parent 7904cb2 commit f1a2ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/Sidebar/PlotHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default withTheme((props: Props) => {
<ReactResizeDetector handleWidth={true} onResize={detectResize} />
</div>
)
}, [width, props.data, tooltip, props.interpolation, props.range])
}, [width, props.data, tooltip, props.interpolation, props.range, props.color, props.theme])
})

function domainForData(data: Array<{ x: number; y: number }>): [number, number] {
Expand Down

0 comments on commit f1a2ae1

Please sign in to comment.