File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,9 @@ export class HistogramPlotly extends Component {
170
170
side : get ( xAxis , OPP ) ? 'top' : 'bottom' ,
171
171
titlefont : {
172
172
size : FSIZE
173
- }
174
- } ,
173
+ } ,
174
+ exponentformat :'e'
175
+ } ,
175
176
yaxis : {
176
177
title : 'Number' ,
177
178
gridLineWidth : 1 ,
@@ -182,7 +183,8 @@ export class HistogramPlotly extends Component {
182
183
side : get ( yAxis , OPP ) ? 'right' : 'left' ,
183
184
titlefont : {
184
185
size : FSIZE
185
- }
186
+ } ,
187
+ exponentformat :'e'
186
188
} ,
187
189
margin : {
188
190
l : leftMargin ,
Original file line number Diff line number Diff line change @@ -367,7 +367,8 @@ function getChartingInfo(props) {
367
367
tickfont : {
368
368
size : FSIZE
369
369
} ,
370
- zeroline : false
370
+ zeroline : false ,
371
+ exponentformat :'e'
371
372
} ,
372
373
yaxis : {
373
374
autorange : false ,
@@ -389,7 +390,9 @@ function getChartingInfo(props) {
389
390
tickfont : {
390
391
size : FSIZE
391
392
} ,
392
- zeroline : false
393
+ zeroline : false ,
394
+ exponentformat :'e'
395
+
393
396
} ,
394
397
margin : {
395
398
l : yOpposite ? MIN_MARGIN_PX : Y_TICKLBL_PX ,
Original file line number Diff line number Diff line change @@ -345,7 +345,8 @@ class PhaseFoldingChart extends PureComponent {
345
345
} ,
346
346
tickfont : {
347
347
size : 12
348
- }
348
+ } ,
349
+ exponentformat :'e'
349
350
} ,
350
351
yaxis : {
351
352
title : `${ flux } (mag)` ,
@@ -357,7 +358,8 @@ class PhaseFoldingChart extends PureComponent {
357
358
autorange : 'reversed' ,
358
359
titlefont : {
359
360
size : 12
360
- }
361
+ } ,
362
+ exponentformat :'e'
361
363
} ,
362
364
margin : {
363
365
l : 50 ,
You can’t perform that action at this time.
0 commit comments