Skip to content

Commit 1a90968

Browse files
committed
register histogram2dcontour, require pars of contour in it.
1 parent ab7ff1d commit 1a90968

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/**
2+
* Copyright 2012-2015, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
9+
10+
'use strict';
11+
12+
var Plotly = require('../../plotly');
13+
14+
Plotly.Plots.register(exports, 'histogram2dcontour',
15+
['cartesian', '2dMap', 'contour', 'histogram'], {
16+
hrName: 'histogram_2d_contour',
17+
description: [
18+
'The sample data from which statistics are computed is set in `x`',
19+
'and `y` (where `x` and `y` represent marginal distributions,',
20+
'binning is set in `xbins` and `ybins` in this case)',
21+
'or `z` (where `z` represent the 2D distribution and binning set,',
22+
'binning is set by `x` and `y` in this case).',
23+
'The resulting distribution is visualized as a contour plot.'
24+
].join(' ')
25+
});
26+
27+
exports.attributes = require('../contour/attributes');
28+
29+
exports.supplyDefaults = require('../contour/defaults');
30+
31+
exports.calc = require('../contour/calc');
32+
33+
exports.plot = require('../contour/plot');
34+
35+
exports.style = require('../contour/style');
36+
37+
exports.colorbar = require('../contour/colorbar');
38+
39+
exports.hoverPoints = require('../contour/hover');

0 commit comments

Comments
 (0)