Skip to content

Commit 2819f56

Browse files
committed
Comment for TRACE_TO_AXIS
1 parent 16e06ee commit 2819f56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/constants.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ export const ESCAPE_KEY = 'Escape';
4949
export const COMMAND_KEY = 'Meta';
5050
export const CONTROL_KEY = 'Control';
5151

52+
// matches gd._fullLayout._subplots categories except for xaxis & yaxis which
53+
// are in fact cartesian types
5254
export const TRACE_TO_AXIS = {
5355
cartesian: [
5456
'scatter',

0 commit comments

Comments
 (0)