plotly.js
Version:
The open source javascript graphing library that powers plotly
37 lines (30 loc) • 792 B
JavaScript
/**
* Copyright 2012-2020, Plotly, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
;
module.exports = {
COMPARISON_OPS: ['=', '!=', '<', '>=', '>', '<='],
COMPARISON_OPS2: ['=', '<', '>=', '>', '<='],
INTERVAL_OPS: ['[]', '()', '[)', '(]', '][', ')(', '](', ')['],
SET_OPS: ['{}', '}{'],
CONSTRAINT_REDUCTION: {
// for contour constraints, open/closed endpoints are equivalent
'=': '=',
'<': '<',
'<=': '<',
'>': '>',
'>=': '>',
'[]': '[]',
'()': '[]',
'[)': '[]',
'(]': '[]',
'][': '][',
')(': '][',
'](': '][',
')[': ']['
}
};