Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ab7ff1d

Browse filesBrowse files
committed
register histogram2d module, require parts of heatmap in it.
1 parent 50f290c commit ab7ff1d
Copy full SHA for ab7ff1d

File tree

Expand file treeCollapse file tree

1 file changed

+39
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+39
-0
lines changed

‎src/traces/histogram2d/index.js

Copy file name to clipboard
+39Lines 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, 'histogram2d',
15+
['cartesian', '2dMap', 'histogram'], {
16+
hrName: 'histogram_2d',
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 heatmap.'
24+
].join(' ')
25+
});
26+
27+
exports.attributes = require('../heatmap/attributes');
28+
29+
exports.supplyDefaults = require('../heatmap/defaults');
30+
31+
exports.calc = require('../heatmap/calc');
32+
33+
exports.plot = require('../heatmap/plot');
34+
35+
exports.colorbar = require('../heatmap/colorbar');
36+
37+
exports.style = require('../heatmap/style');
38+
39+
exports.hoverPoints = require('../heatmap/hover');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.