Skip to content

Commit

Permalink
fix #7239 madx parameter plot aspect ratio (#7240)
Browse files Browse the repository at this point in the history
  • Loading branch information
moellep committed Sep 11, 2024
1 parent bccd32d commit b3862e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sirepo/package_data/static/js/madx.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@ SIREPO.app.controller('VisualizationController', function(appState, commandServi
}
}
var m = appState.models[modelKey];
if (outputFile.reportType != 'heatmap') {
m.aspectRatio = 4.0 / 7;
}
appState.setModelDefaults(m, 'elementAnimation');
var yColumnWithNone = appState.clone(info.plottableColumns);
yColumnWithNone.unshift('None');
Expand Down

0 comments on commit b3862e2

Please sign in to comment.