Skip to content

Commit 4ad9542

Browse files
authored
Merge branch 'main-v2' into toggle-legend
2 parents 683a2b6 + e54ff94 commit 4ad9542

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## June 19, 2025
44
- Added toggle legend button for plotly timeseries plots (Issue #328)
5+
- Fixed margin difference between plotly and native NS plots by removing width reduction and right margin (Issue #330)
56

67
## June 12, 2025
78
- Optimized experimental search panel to eliminate repeated script executions by implementing client-side filtering

src/pages/NwbPage/plugins/simple-timeseries/TimeseriesPlot.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ const TimeseriesPlot: FunctionComponent<Partial<Props>> = ({
8181

8282
const layout = useMemo(
8383
() => ({
84-
width: (width || 700) - 20,
84+
width: (width || 700),
8585
height: height || 300,
86-
margin: {
87-
l: 50,
88-
r: 20,
89-
t: 20,
90-
b: 50,
91-
},
86+
margin: {
87+
l: 50,
88+
r: 20,
89+
t: 20,
90+
b: 50,
91+
},
9292
xaxis: {
9393
title: {
9494
text: "Time (s)",

0 commit comments

Comments
 (0)