Skip to content

Commit

Permalink
respond to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Jul 19, 2023
1 parent 1dfd3b7 commit ae87cb4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
12 changes: 1 addition & 11 deletions build/vega-lite-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -21911,9 +21911,6 @@
},
"scheme": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/ColorScheme"
},
Expand Down Expand Up @@ -22471,14 +22468,7 @@
"type": "array"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/ColorScheme"
}
],
"$ref": "#/definitions/ColorScheme",
"description": "A color scheme name for ordinal scales (e.g., `\"category10\"` or `\"blues\"`).\n\nFor the full list of supported schemes, please refer to the [Vega Scheme](https://vega.github.io/vega/docs/schemes/#reference) reference."
}
},
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@
"vega-datasets": "^2.7.0",
"vega-embed": "^6.22.1",
"vega-tooltip": "^0.32.0",
"vega-typings": "^0.24.1",
"yaml-front-matter": "^4.1.1"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/scale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ export interface SchemeParams {
*
* For the full list of supported schemes, please refer to the [Vega Scheme](https://vega.github.io/vega/docs/schemes/#reference) reference.
*/
name: string | ColorScheme | SignalRef;
name: ColorScheme | SignalRef;

/**
* The extent of the color range to use. For example `[0.2, 1]` will rescale the color scheme such that color values in the range _[0, 0.2)_ are excluded from the scheme.
Expand Down Expand Up @@ -611,7 +611,7 @@ export interface Scale<ES extends ExprRef | SignalRef = ExprRef | SignalRef> {
*
* For the full list of supported schemes, please refer to the [Vega Scheme](https://vega.github.io/vega/docs/schemes/#reference) reference.
*/
scheme?: string | ColorScheme | SchemeParams | ES;
scheme?: ColorScheme | SchemeParams | ES;

/**
* The alignment of the steps within the scale range.
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9015,7 +9015,7 @@ vega-transforms@~4.10.2:
vega-time "^2.1.1"
vega-util "^1.17.1"

vega-typings@^0.24.1, vega-typings@~0.24.0:
vega-typings@~0.24.0:
version "0.24.1"
resolved "https://registry.yarnpkg.com/vega-typings/-/vega-typings-0.24.1.tgz#7e1e87557a9bf09e934687197c5e964bd9b416ca"
integrity sha512-WNw6tDxwMsynQ9osJb3RZi3g8GZruxVgXfe8N7nbqvNOgDQkUuVjqTZiwGg5kqjmLqx09lRRlskgp/ov7lEGeg==
Expand Down

0 comments on commit ae87cb4

Please sign in to comment.