增加“二维图展示”块

This commit is contained in:
13880560530
2024-11-27 23:46:52 +08:00
parent 42d62f5632
commit 4f3ccf225e
2 changed files with 8 additions and 1 deletions

View File

@@ -1146,7 +1146,7 @@ export const pylab_imshow = {
init: function () {
this.setColour(DATA_HUE);
this.appendValueInput('ARRAY')
.appendField('展示图像');
.appendField('创建二维图');
this.appendDummyInput()
.appendField('颜色')
.appendField(new Blockly.FieldDropdown([