svelte-plots-basic 2.1.1 → 2.1.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.
package/README.md CHANGED
@@ -6,6 +6,10 @@ The library is under development and breaking changes may occur in the coming ve
6
6
 
7
7
  New major release (v. 2.0.0) introduces many breaking changes as the library was completely re-written. If you use previous versions of `svelte-plots-basic` in your projects, and do not want to change anything, stick to the latest 1.x.x version (v. 1.1.4).
8
8
 
9
+ ### 2.1.4—2.1.3
10
+
11
+ * Small improvements and bug fixes.
12
+
9
13
  ### 2.1.0
10
14
 
11
15
  * Added new elements, `Heatmap` and `ColormapLegend`.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "svelte-plots-basic",
3
3
  "description": "Svelte components for creating simple plots",
4
- "version": "2.1.1",
4
+ "version": "2.1.3",
5
5
  "author": "Sergey Kucheryavskiy",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -20,7 +20,7 @@
20
20
  export let title = ''; // title of the plot
21
21
  export let xLabel = ''; // label for x-axis
22
22
  export let yLabel = ''; // label for y-axis
23
- export let margins = [0.034, 0.034, 0.034, 0.034]; // margins [bottom, left, top, right] )
23
+ export let margins = [1.0, 0.75, 0.5, 0.5]; // margins [bottom, left, top, right] )
24
24
 
25
25
 
26
26
  /*****************************************/
@@ -95,7 +95,7 @@
95
95
 
96
96
  tfCoords = [
97
97
  [null, null],
98
- [[$xLim[1]], [ticksY1.v[tickNum - 1]]],
98
+ [[$xLim[1]], [ticksY1.v[tickNum - 1] - dY]],
99
99
  ];
100
100
  }
101
101
  </script>
package/src/Colors.js CHANGED
@@ -10,7 +10,7 @@ export const Colors = {
10
10
  "LEGEND": "#303030",
11
11
 
12
12
  "PRIMARY": "#2679B2",
13
- "PRIMARY_LIGHT": "#66A9F2",
13
+ "PRIMARY_LIGHT": "#d2ebff",
14
14
  "PRIMARY_TEXT": "#333",
15
15
  }
16
16