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 +4 -0
- package/package.json +1 -1
- package/src/2d/Axes.svelte +1 -1
- package/src/2d/XAxis.svelte +1 -1
- package/src/Colors.js +1 -1
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
package/src/2d/Axes.svelte
CHANGED
|
@@ -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
|
|
23
|
+
export let margins = [1.0, 0.75, 0.5, 0.5]; // margins [bottom, left, top, right] )
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
/*****************************************/
|
package/src/2d/XAxis.svelte
CHANGED