plotto 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plotto",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Grammar-of-graphics plots for notebooks, web pages and slides with one renderer.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://theoradusz.github.io/plotto/",
package/src/layers.js CHANGED
@@ -122,7 +122,7 @@ export const LAYERS = {
122
122
  },
123
123
 
124
124
  box: (c) => [
125
- Plot.boxY(c.index, { x: c.v("x"), y: c.v("y"), fill: c.colors(c.theme.strip), fillOpacity: c.options.alpha ?? 1, stroke: c.theme.ink, strokeWidth: 1, r: c.theme.point }),
125
+ Plot.boxY(c.index, { x: c.v("x"), y: c.v("y"), fill: c.colors(c.theme.strip), fillOpacity: c.options.alpha ?? 1, stroke: c.theme.ink, strokeWidth: 1, r: c.theme.point, clip }),
126
126
  ],
127
127
  };
128
128
 
package/theme.json CHANGED
@@ -124,7 +124,7 @@
124
124
  "formats": {
125
125
  "screen": {
126
126
  "width": 900,
127
- "height": 450,
127
+ "height": 500,
128
128
  "size": 12,
129
129
  "line": 1.5,
130
130
  "point": 2.5,