svelteplot 0.4.3-pr-199.1 → 0.4.3-pr-199.3

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.
@@ -236,7 +236,7 @@ export function inferScaleType(name, dataValues, markTypes) {
236
236
  if (name === 'symbol')
237
237
  return 'ordinal';
238
238
  // for positional scales, try to pick a scale that's required by the mark types
239
- if ((name === 'x' || name === 'y') && markTypes.size === 1) {
239
+ if (name === 'x' || name === 'y') {
240
240
  if (name === 'y' &&
241
241
  (markTypes.has('barX') || markTypes.has('tickX') || markTypes.has('cell')))
242
242
  return 'band';
@@ -91,10 +91,3 @@
91
91
  </GroupMultiple>
92
92
  {/snippet}
93
93
  </Mark>
94
-
95
- <style>
96
- rect {
97
- stroke: none;
98
- /* fill: none; */
99
- }
100
- </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteplot",
3
- "version": "0.4.3-pr-199.1",
3
+ "version": "0.4.3-pr-199.3",
4
4
  "license": "ISC",
5
5
  "author": {
6
6
  "name": "Gregor Aisch",
@@ -11,6 +11,7 @@
11
11
  "build": "vite build",
12
12
  "preview": "vite preview",
13
13
  "test": "npm run test:unit",
14
+ "test:visual": "node scripts/visual-regression.js",
14
15
  "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
15
16
  "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
16
17
  "lint": "prettier --check src && eslint src",