Skip to content

Refactor duplicated Plotly code#96

Merged
bnmajor merged 2 commits into
mainfrom
refactor-plotly
Jul 13, 2026
Merged

Refactor duplicated Plotly code#96
bnmajor merged 2 commits into
mainfrom
refactor-plotly

Conversation

@bnmajor

@bnmajor bnmajor commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

Depends on #99
Closes #48

@marySalvi
marySalvi force-pushed the js-modules branch 2 times, most recently from e047187 to ec5ddb3 Compare April 22, 2026 15:44
@bnmajor
bnmajor changed the base branch from js-modules to main April 23, 2026 13:40
@bnmajor
bnmajor changed the base branch from main to js-modules April 23, 2026 13:40
@bnmajor
bnmajor marked this pull request as ready for review April 23, 2026 14:26
@bnmajor
bnmajor marked this pull request as draft April 27, 2026 15:19
Base automatically changed from js-modules to main April 28, 2026 14:26
@bnmajor
bnmajor force-pushed the refactor-plotly branch 7 times, most recently from 9e87227 to 552fe78 Compare June 17, 2026 15:08
@bnmajor
bnmajor marked this pull request as ready for review June 17, 2026 15:08
@bnmajor
bnmajor requested a review from marySalvi June 17, 2026 15:08
@bnmajor
bnmajor force-pushed the refactor-plotly branch from 552fe78 to 126990b Compare July 6, 2026 14:02
@bnmajor
bnmajor removed the request for review from marySalvi July 6, 2026 14:02
Create plotUtils.js with shared Plotly utilities
@bnmajor
bnmajor force-pushed the refactor-plotly branch from 126990b to f103585 Compare July 6, 2026 14:03
@bnmajor
bnmajor requested a review from marySalvi July 6, 2026 14:06
@bnmajor

bnmajor commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator Author

@waxlamp

Comment thread net_maestro/core/static/net_maestro/plots/heatmap.js
The local initPlot() method internally called the same-named imported initPlot() from plotUtils.js,
overloading the identifier with two different meanings. Rename the shared utility to `setupPlot`
to remove the ambiguity.
@bnmajor
bnmajor merged commit 03f1b74 into main Jul 13, 2026
2 checks passed
@bnmajor
bnmajor deleted the refactor-plotly branch July 13, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor plots to centralize shared code

2 participants