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 253eb24

Browse filesBrowse files
committed
1.30.1
1 parent dd4f333 commit 253eb24
Copy full SHA for 253eb24
Expand file treeCollapse file tree

23 files changed

+721
-316
lines changed

‎dist/README.md

Copy file name to clipboardExpand all lines: dist/README.md
+24-24Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
3737

3838
It be can imported as minified javascript
3939
- using dist file `dist/plotly.min.js`
40-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.30.0.min.js
40+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.30.1.min.js
4141

4242
or as raw javascript:
4343
- using dist file `dist/plotly.js`
44-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.30.0.js
44+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.30.1.js
4545
- using CommonJS with `require('plotly.js')`
4646

4747
If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plot.ly/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
@@ -50,7 +50,7 @@ The main plotly.js bundle weights in at:
5050

5151
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
5252
|-----------|---------------|----------------------|---------------------|
53-
| 5.5 MB | 2.2 MB | 672.1 kB | 5.6 MB |
53+
| 5.5 MB | 2.2 MB | 672.3 kB | 5.6 MB |
5454

5555
## Partial bundles
5656

@@ -74,13 +74,13 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules
7474
| dist bundle (minified) | `dist/plotly-basic.min.js` |
7575
| CDN URL (latest) | https://cdn.plot.ly/plotly-basic-latest.js |
7676
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-basic-latest.min.js |
77-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.30.0.js |
78-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.30.0.min.js |
77+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.30.1.js |
78+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.30.1.min.js |
7979
| CommonJS | `require('plotly.js/lib/index-basic')` |
8080

8181
| Raw size | Minified size | Minified + gzip size |
8282
|------|-----------------|------------------------|
83-
| 1.8 MB | 676 kB | 220.1 kB |
83+
| 1.8 MB | 676.5 kB | 220.3 kB |
8484

8585
### plotly.js cartesian
8686

@@ -92,13 +92,13 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,
9292
| dist bundle (minified) | `dist/plotly-cartesian.min.js` |
9393
| CDN URL (latest) | https://cdn.plot.ly/plotly-cartesian-latest.js |
9494
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
95-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.30.0.js |
96-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.30.0.min.js |
95+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.30.1.js |
96+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.30.1.min.js |
9797
| CommonJS | `require('plotly.js/lib/index-cartesian')` |
9898

9999
| Raw size | Minified size | Minified + gzip size |
100100
|------|-----------------|------------------------|
101-
| 2 MB | 759.1 kB | 245.6 kB |
101+
| 2 MB | 759.7 kB | 245.8 kB |
102102

103103
### plotly.js geo
104104

@@ -110,13 +110,13 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t
110110
| dist bundle (minified) | `dist/plotly-geo.min.js` |
111111
| CDN URL (latest) | https://cdn.plot.ly/plotly-geo-latest.js |
112112
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-geo-latest.min.js |
113-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.30.0.js |
114-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.30.0.min.js |
113+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.30.1.js |
114+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.30.1.min.js |
115115
| CommonJS | `require('plotly.js/lib/index-geo')` |
116116

117117
| Raw size | Minified size | Minified + gzip size |
118118
|------|-----------------|------------------------|
119-
| 1.8 MB | 698.5 kB | 228.5 kB |
119+
| 1.8 MB | 699.1 kB | 228.7 kB |
120120

121121
### plotly.js gl3d
122122

@@ -128,13 +128,13 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface` and `me
128128
| dist bundle (minified) | `dist/plotly-gl3d.min.js` |
129129
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl3d-latest.js |
130130
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
131-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.30.0.js |
132-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.30.0.min.js |
131+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.30.1.js |
132+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.30.1.min.js |
133133
| CommonJS | `require('plotly.js/lib/index-gl3d')` |
134134

135135
| Raw size | Minified size | Minified + gzip size |
136136
|------|-----------------|------------------------|
137-
| 2.7 MB | 1.1 MB | 358.4 kB |
137+
| 2.7 MB | 1.1 MB | 358.6 kB |
138138

139139
### plotly.js gl2d
140140

@@ -146,13 +146,13 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `pointcloud`, `he
146146
| dist bundle (minified) | `dist/plotly-gl2d.min.js` |
147147
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl2d-latest.js |
148148
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
149-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.30.0.js |
150-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.30.0.min.js |
149+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.30.1.js |
150+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.30.1.min.js |
151151
| CommonJS | `require('plotly.js/lib/index-gl2d')` |
152152

153153
| Raw size | Minified size | Minified + gzip size |
154154
|------|-----------------|------------------------|
155-
| 2.8 MB | 1.1 MB | 367.8 kB |
155+
| 2.8 MB | 1.1 MB | 368 kB |
156156

157157
### plotly.js mapbox
158158

@@ -164,13 +164,13 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod
164164
| dist bundle (minified) | `dist/plotly-mapbox.min.js` |
165165
| CDN URL (latest) | https://cdn.plot.ly/plotly-mapbox-latest.js |
166166
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
167-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.30.0.js |
168-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.30.0.min.js |
167+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.30.1.js |
168+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.30.1.min.js |
169169
| CommonJS | `require('plotly.js/lib/index-mapbox')` |
170170

171171
| Raw size | Minified size | Minified + gzip size |
172172
|------|-----------------|------------------------|
173-
| 2.9 MB | 1.1 MB | 333.6 kB |
173+
| 2.9 MB | 1.1 MB | 333.8 kB |
174174

175175
### plotly.js finance
176176

@@ -182,13 +182,13 @@ The `finance` partial bundle contains the `scatter`, `bar`, `histogram`, `pie`,
182182
| dist bundle (minified) | `dist/plotly-finance.min.js` |
183183
| CDN URL (latest) | https://cdn.plot.ly/plotly-finance-latest.js |
184184
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-finance-latest.min.js |
185-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.30.0.js |
186-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.30.0.min.js |
185+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.30.1.js |
186+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.30.1.min.js |
187187
| CommonJS | `require('plotly.js/lib/index-finance')` |
188188

189189
| Raw size | Minified size | Minified + gzip size |
190190
|------|-----------------|------------------------|
191-
| 1.9 MB | 704.3 kB | 228.2 kB |
191+
| 1.9 MB | 704.9 kB | 228.4 kB |
192192

193193
----------------
194194

‎dist/npm-ls.json

Copy file name to clipboardExpand all lines: dist/npm-ls.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly.js",
3-
"version": "1.30.0",
3+
"version": "1.30.1",
44
"dependencies": {
55
"3d-view": {
66
"version": "2.0.0",

‎dist/plotly-basic.js

Copy file name to clipboardExpand all lines: dist/plotly-basic.js
+65-20Lines changed: 65 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.30.0
2+
* plotly.js (basic) v1.30.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -25722,7 +25722,7 @@ function drawOne(gd, index) {
2572225722
else {
2572325723
var plotinfo = gd._fullLayout._plots[options.xref + options.yref];
2572425724
if(plotinfo) {
25725-
var mainPlot = plotinfo.mainplot || plotinfo;
25725+
var mainPlot = plotinfo.mainplotinfo || plotinfo;
2572625726
drawShape(mainPlot.shapelayer);
2572725727
}
2572825728
else {
@@ -29257,7 +29257,7 @@ exports.svgAttrs = {
2925729257
var Plotly = require('./plotly');
2925829258

2925929259
// package version injected by `npm run preprocess`
29260-
exports.version = '1.30.0';
29260+
exports.version = '1.30.1';
2926129261

2926229262
// inject promise polyfill
2926329263
require('es6-promise').polyfill();
@@ -41911,6 +41911,8 @@ axes.doTicks = function(gd, axid, skipTitle) {
4191141911
.selectAll('path').remove();
4191241912
plotinfo.zerolinelayer
4191341913
.selectAll('path').remove();
41914+
fullLayout._infolayer.select('.g-' + xa._id + 'title').remove();
41915+
fullLayout._infolayer.select('.g-' + ya._id + 'title').remove();
4191441916
});
4191541917
}
4191641918

@@ -42038,9 +42040,16 @@ axes.doTicks = function(gd, axid, skipTitle) {
4203842040
// tick labels - for now just the main labels.
4203942041
// TODO: mirror labels, esp for subplots
4204042042
var tickLabels = container.selectAll('g.' + tcls).data(vals, datafn);
42041-
if(!ax.showticklabels || !isNumeric(position)) {
42043+
42044+
if(!isNumeric(position)) {
42045+
tickLabels.remove();
42046+
drawAxTitle();
42047+
return;
42048+
}
42049+
if(!ax.showticklabels) {
4204242050
tickLabels.remove();
4204342051
drawAxTitle();
42052+
calcBoundingBox();
4204442053
return;
4204542054
}
4204642055

@@ -42206,23 +42215,59 @@ axes.doTicks = function(gd, axid, skipTitle) {
4220642215
}
4220742216

4220842217
function calcBoundingBox() {
42209-
var bBox = container.node().getBoundingClientRect();
42210-
var gdBB = gd.getBoundingClientRect();
42218+
if(ax.showticklabels) {
42219+
var gdBB = gd.getBoundingClientRect();
42220+
var bBox = container.node().getBoundingClientRect();
4221142221

42212-
/*
42213-
* the way we're going to use this, the positioning that matters
42214-
* is relative to the origin of gd. This is important particularly
42215-
* if gd is scrollable, and may have been scrolled between the time
42216-
* we calculate this and the time we use it
42217-
*/
42218-
ax._boundingBox = {
42219-
width: bBox.width,
42220-
height: bBox.height,
42221-
left: bBox.left - gdBB.left,
42222-
right: bBox.right - gdBB.left,
42223-
top: bBox.top - gdBB.top,
42224-
bottom: bBox.bottom - gdBB.top
42225-
};
42222+
/*
42223+
* the way we're going to use this, the positioning that matters
42224+
* is relative to the origin of gd. This is important particularly
42225+
* if gd is scrollable, and may have been scrolled between the time
42226+
* we calculate this and the time we use it
42227+
*/
42228+
42229+
ax._boundingBox = {
42230+
width: bBox.width,
42231+
height: bBox.height,
42232+
left: bBox.left - gdBB.left,
42233+
right: bBox.right - gdBB.left,
42234+
top: bBox.top - gdBB.top,
42235+
bottom: bBox.bottom - gdBB.top
42236+
};
42237+
} else {
42238+
var gs = fullLayout._size;
42239+
var pos;
42240+
42241+
// set dummy bbox for ticklabel-less axes
42242+
42243+
if(axLetter === 'x') {
42244+
pos = ax.anchor === 'free' ?
42245+
gs.t + gs.h * (1 - ax.position) :
42246+
gs.t + gs.h * (1 - ax._anchorAxis.domain[{bottom: 0, top: 1}[ax.side]]);
42247+
42248+
ax._boundingBox = {
42249+
top: pos,
42250+
bottom: pos,
42251+
left: ax._offset,
42252+
rigth: ax._offset + ax._length,
42253+
width: ax._length,
42254+
height: 0
42255+
};
42256+
} else {
42257+
pos = ax.anchor === 'free' ?
42258+
gs.l + gs.w * ax.position :
42259+
gs.l + gs.w * ax._anchorAxis.domain[{left: 0, right: 1}[ax.side]];
42260+
42261+
ax._boundingBox = {
42262+
left: pos,
42263+
right: pos,
42264+
bottom: ax._offset + ax._length,
42265+
top: ax._offset,
42266+
height: ax._length,
42267+
width: 0
42268+
};
42269+
}
42270+
}
4222642271

4222742272
/*
4222842273
* for spikelines: what's the full domain of positions in the

‎dist/plotly-basic.min.js

Copy file name to clipboardExpand all lines: dist/plotly-basic.min.js
+10-10Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

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