Skip to content

Commit 6b7c5df

Browse files
committed
plotly.js b64 PR
1 parent 95cc3d0 commit 6b7c5df

File tree

171 files changed

+845
-811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+845
-811
lines changed

packages/javascript/jupyterlab-plotly/package-lock.json

Lines changed: 113 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/javascript/jupyterlab-plotly/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@lumino/messaging": "^1.2.3",
6666
"@lumino/widgets": "^1.8.1",
6767
"lodash": "^4.17.4",
68-
"plotly.js": "^2.27.0"
68+
"plotly.js": "https://output.circle-artifacts.com/output/job/fc606fdf-0e27-4495-8e59-673366e277d4/artifacts/0/plotly.js.tgz"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",
@@ -78,4 +78,4 @@
7878
}
7979
}
8080
}
81-
}
81+
}

packages/python/plotly/codegen/resources/plot-schema.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@
479479
"requiredOpts": []
480480
},
481481
"data_array": {
482-
"description": "An {array} of data. The value MUST be an {array}, or we ignore it. Note that typed arrays (e.g. Float32Array) are supported.",
482+
"description": "An {array} of data. The value must represent an {array} or it will be ignored, but this array can be provided in several forms: (1) a regular {array} object (2) a typed array (e.g. Float32Array) (3) an object with keys dtype, bdata, and optionally shape. In this 3rd form, dtype is one of *f8*, *f4*. *i4*, *u4*, *i2*, *u2*, *i1*, *u1* or *u1c* for Uint8ClampedArray. In addition to shorthand `dtype` above one could also use the following forms: *float64*, *float32*, *int32*, *uint32*, *int16*, *uint16*, *int8*, *uint8* or *uint8c* for Uint8ClampedArray. `bdata` is either a base64-encoded string or the ArrayBuffer of an integer or float typed array. For either multi-dimensional arrays you must also provide its dimensions separated by comma via `shape`. For example using `dtype`: *f4* and `shape`: *5,100* you can declare a 2-D array that has 5 rows and 100 columns containing float32 values i.e. 4 bits per value. `shape` is optional for one dimensional arrays.",
483483
"otherOpts": [
484484
"dflt"
485485
],
@@ -44358,6 +44358,18 @@
4435844358
"valType": "string"
4435944359
},
4436044360
"node": {
44361+
"align": {
44362+
"description": "Sets the alignment method used to position the nodes along the horizontal axis.",
44363+
"dflt": "justify",
44364+
"editType": "calc",
44365+
"valType": "enumerated",
44366+
"values": [
44367+
"justify",
44368+
"left",
44369+
"right",
44370+
"center"
44371+
]
44372+
},
4436144373
"color": {
4436244374
"arrayOk": true,
4436344375
"description": "Sets the `node` color. It can be a single value, or an array for specifying color for each `node`. If `node.color` is omitted, then the default `Plotly` color palette will be cycled through to have a variety of colors. These defaults are not fully opaque, to allow some visibility of what is beneath the node.",
@@ -58874,19 +58886,6 @@
5887458886
},
5887558887
"editType": "calc",
5887658888
"role": "object",
58877-
"shape": {
58878-
"description": "Determines the line shape. The values correspond to step-wise line shapes.",
58879-
"dflt": "linear",
58880-
"editType": "calc",
58881-
"valType": "enumerated",
58882-
"values": [
58883-
"linear",
58884-
"hv",
58885-
"vh",
58886-
"hvh",
58887-
"vhv"
58888-
]
58889-
},
5889058889
"width": {
5889158890
"description": "Sets the line width (in px).",
5889258891
"dflt": 2,

0 commit comments

Comments
 (0)