runmat 0.5.3-dev.1 → 0.5.4-dev.0
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/artifacts/stdlib.snapshot +0 -0
- package/dist/generated/builtin-examples-catalog.d.ts.map +1 -1
- package/dist/generated/builtin-examples-catalog.js +1 -1
- package/dist/generated/builtin-examples-catalog.js.map +1 -1
- package/dist/generated/builtins/gca.d.ts.map +1 -1
- package/dist/generated/builtins/gca.js +11 -1
- package/dist/generated/builtins/gca.js.map +1 -1
- package/dist/generated/builtins-manifest.js +1 -1
- package/dist/lsp/runmat_lsp.d.ts +2 -2
- package/dist/lsp/runmat_lsp.js +4 -4
- package/dist/lsp/runmat_lsp_bg.wasm +0 -0
- package/dist/lsp/runmat_lsp_bg.wasm.d.ts +2 -2
- package/dist/pkg-web/runmat_wasm_web.d.ts +3 -3
- package/dist/pkg-web/runmat_wasm_web.js +7 -7
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +3 -3
- package/dist/runtime/stdlib.snapshot +0 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gca.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/gca.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"gca.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/gca.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UAgHjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -28,9 +28,10 @@ const builtinDoc = {
|
|
|
28
28
|
"tested": {
|
|
29
29
|
"unit": "builtins::plotting::gca::tests"
|
|
30
30
|
},
|
|
31
|
-
"description": "`gca` returns the handle for the current axes in the active figure. Optional struct mode returns a snapshot of current axes context for diagnostics and tooling.",
|
|
31
|
+
"description": "`gca` returns the handle for the current axes in the active figure, or in a specific figure when a figure handle is supplied. Optional struct mode returns a snapshot of current axes context for diagnostics and tooling.",
|
|
32
32
|
"behaviors": [
|
|
33
33
|
"`gca()` returns a scalar numeric axes handle.",
|
|
34
|
+
"`gca(fig)` returns the current axes handle for the specified figure handle.",
|
|
34
35
|
"`gca('struct')` returns a struct with fields `handle`, `figure`, `rows`, `cols`, and `index`.",
|
|
35
36
|
"The current axes reflect the active subplot when `subplot` has been used.",
|
|
36
37
|
"The numeric axes handle can be passed to `get` and `set`, including common axes styling such as `FontSize`.",
|
|
@@ -47,6 +48,11 @@ const builtinDoc = {
|
|
|
47
48
|
"input": "subplot(2, 2, 3);\ninfo = gca(\"struct\")",
|
|
48
49
|
"output": "info =\n struct with fields:\n handle\n figure\n rows\n cols\n index"
|
|
49
50
|
},
|
|
51
|
+
{
|
|
52
|
+
"description": "Read the current axes of a specific figure",
|
|
53
|
+
"input": "f1 = figure(1);\nsubplot(2, 2, 3);\nf2 = figure(2);\nax1 = gca(f1)",
|
|
54
|
+
"output": "% ax1 is the current axes handle for figure 1"
|
|
55
|
+
},
|
|
50
56
|
{
|
|
51
57
|
"description": "Style the current axes",
|
|
52
58
|
"input": "plot(1:3, [1 2 3]);\nset(gca, 'FontSize', 10);"
|
|
@@ -61,6 +67,10 @@ const builtinDoc = {
|
|
|
61
67
|
"question": "Does `gca` reflect `subplot` selection?",
|
|
62
68
|
"answer": "Yes. When a subplot is active, `gca` reports that subplot's axes handle and metadata."
|
|
63
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"question": "Can `gca` inspect a non-current figure?",
|
|
72
|
+
"answer": "Yes. Pass a figure handle, for example `gca(fig)`, to read that figure's current axes without changing the active figure."
|
|
73
|
+
},
|
|
64
74
|
{
|
|
65
75
|
"question": "Does `gca` run on the GPU?",
|
|
66
76
|
"answer": "No. It only reads host-side plotting state."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gca.js","sourceRoot":"","sources":["../../../src/generated/builtins/gca.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,UAAU;IACtB,UAAU,EAAE;QACV,KAAK;QACL,cAAc;QACd,aAAa;QACb,UAAU;KACX;IACD,SAAS,EAAE,sDAAsD;IACjE,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,EAAE;QAChB,cAAc,EAAE,MAAM;QACtB,OAAO,EAAE,2EAA2E;KACrF;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,QAAQ;KACtB;IACD,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE;QACR,MAAM,EAAE,gCAAgC;KACzC;IACD,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"gca.js","sourceRoot":"","sources":["../../../src/generated/builtins/gca.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,UAAU;IACtB,UAAU,EAAE;QACV,KAAK;QACL,cAAc;QACd,aAAa;QACb,UAAU;KACX;IACD,SAAS,EAAE,sDAAsD;IACjE,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,EAAE;QAChB,cAAc,EAAE,MAAM;QACtB,OAAO,EAAE,2EAA2E;KACrF;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAA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O,EAAE,0DAA0D;QACnE,KAAK,EAAE,uGAAuG;KAC/G;IACD,eAAe,EAAE,sFAAsF;IACvG,cAAc,EAAE;QACd,sGAAsG;KACvG;IACD,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,UAAU;KACX;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/dist/lsp/runmat_lsp.d.ts
CHANGED
|
@@ -42,8 +42,8 @@ export interface InitOutput {
|
|
|
42
42
|
readonly __wbindgen_export_4: WebAssembly.Table;
|
|
43
43
|
readonly __wbindgen_export_5: WebAssembly.Table;
|
|
44
44
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
45
|
+
readonly closure5113_externref_shim: (a: number, b: number, c: any) => void;
|
|
46
|
+
readonly closure5156_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
47
47
|
readonly __wbindgen_start: () => void;
|
|
48
48
|
}
|
|
49
49
|
|
package/dist/lsp/runmat_lsp.js
CHANGED
|
@@ -414,11 +414,11 @@ export function setCompatMode(mode) {
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
function __wbg_adapter_34(arg0, arg1, arg2) {
|
|
417
|
-
wasm.
|
|
417
|
+
wasm.closure5113_externref_shim(arg0, arg1, arg2);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
function __wbg_adapter_582(arg0, arg1, arg2, arg3) {
|
|
421
|
-
wasm.
|
|
421
|
+
wasm.closure5156_externref_shim(arg0, arg1, arg2, arg3);
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
@@ -1505,8 +1505,8 @@ function __wbg_get_imports() {
|
|
|
1505
1505
|
const ret = false;
|
|
1506
1506
|
return ret;
|
|
1507
1507
|
};
|
|
1508
|
-
imports.wbg.
|
|
1509
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1508
|
+
imports.wbg.__wbindgen_closure_wrapper19212 = function(arg0, arg1, arg2) {
|
|
1509
|
+
const ret = makeMutClosure(arg0, arg1, 5114, __wbg_adapter_34);
|
|
1510
1510
|
return ret;
|
|
1511
1511
|
};
|
|
1512
1512
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -23,6 +23,6 @@ export const __externref_table_alloc: () => number;
|
|
|
23
23
|
export const __wbindgen_export_4: WebAssembly.Table;
|
|
24
24
|
export const __wbindgen_export_5: WebAssembly.Table;
|
|
25
25
|
export const __externref_table_dealloc: (a: number) => void;
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
26
|
+
export const closure5113_externref_shim: (a: number, b: number, c: any) => void;
|
|
27
|
+
export const closure5156_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
28
28
|
export const __wbindgen_start: () => void;
|
|
@@ -137,9 +137,9 @@ export interface InitOutput {
|
|
|
137
137
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
138
138
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
139
139
|
readonly closure3318_externref_shim: (a: number, b: number, c: any) => void;
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
140
|
+
readonly closure8275_externref_shim: (a: number, b: number, c: any) => void;
|
|
141
|
+
readonly closure8287_externref_shim: (a: number, b: number, c: any) => void;
|
|
142
|
+
readonly closure8315_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
143
143
|
readonly __wbindgen_start: () => void;
|
|
144
144
|
}
|
|
145
145
|
|
|
@@ -590,15 +590,15 @@ function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
|
590
590
|
}
|
|
591
591
|
|
|
592
592
|
function __wbg_adapter_59(arg0, arg1, arg2) {
|
|
593
|
-
wasm.
|
|
593
|
+
wasm.closure8275_externref_shim(arg0, arg1, arg2);
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
function __wbg_adapter_62(arg0, arg1, arg2) {
|
|
597
|
-
wasm.
|
|
597
|
+
wasm.closure8287_externref_shim(arg0, arg1, arg2);
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
function __wbg_adapter_884(arg0, arg1, arg2, arg3) {
|
|
601
|
-
wasm.
|
|
601
|
+
wasm.closure8315_externref_shim(arg0, arg1, arg2, arg3);
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
@@ -2534,12 +2534,12 @@ function __wbg_get_imports() {
|
|
|
2534
2534
|
const ret = false;
|
|
2535
2535
|
return ret;
|
|
2536
2536
|
};
|
|
2537
|
-
imports.wbg.
|
|
2538
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2537
|
+
imports.wbg.__wbindgen_closure_wrapper27840 = function(arg0, arg1, arg2) {
|
|
2538
|
+
const ret = makeMutClosure(arg0, arg1, 8276, __wbg_adapter_59);
|
|
2539
2539
|
return ret;
|
|
2540
2540
|
};
|
|
2541
|
-
imports.wbg.
|
|
2542
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2541
|
+
imports.wbg.__wbindgen_closure_wrapper28216 = function(arg0, arg1, arg2) {
|
|
2542
|
+
const ret = makeMutClosure(arg0, arg1, 8288, __wbg_adapter_62);
|
|
2543
2543
|
return ret;
|
|
2544
2544
|
};
|
|
2545
2545
|
imports.wbg.__wbindgen_closure_wrapper8720 = function(arg0, arg1, arg2) {
|
|
Binary file
|
|
@@ -70,7 +70,7 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
70
70
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
71
71
|
export const __externref_table_dealloc: (a: number) => void;
|
|
72
72
|
export const closure3318_externref_shim: (a: number, b: number, c: any) => void;
|
|
73
|
-
export const
|
|
74
|
-
export const
|
|
75
|
-
export const
|
|
73
|
+
export const closure8275_externref_shim: (a: number, b: number, c: any) => void;
|
|
74
|
+
export const closure8287_externref_shim: (a: number, b: number, c: any) => void;
|
|
75
|
+
export const closure8315_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
76
76
|
export const __wbindgen_start: () => void;
|
|
Binary file
|