-
-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Reported in #100
import numpy as np, bqplot.pyplot as plt
x = np.linspace(0, 1, 11)
y = x**2
fig = plt.figure()
plt.plot(x, y, figure=fig)
fig # or plt.show()
Output is
Figure(axes=[Axis(scale=LinearScale()), Axis(orientation='vertical', scale=LinearScale())], fig_margin={'top':…
Need to support msg_types
comm_open
{
"header": {
"msg_id": "b66a9da1-41bffe35c2e3491da9b437be_3066_6",
"msg_type": "comm_open",
"username": "prasunanand",
"session": "b66a9da1-41bffe35c2e3491da9b437be",
"date": "2025-08-10T06:54:39.680498Z",
"version": "5.3"
},
"parent_header": {
"msg_id": "868f14cd-3ffe-4b94-ac5c-b59d6bf4a525",
"msg_type": "execute_request",
"username": "prasunanand",
"session": "cc339e32-a7f4-495a-a34d-9fe3495f7c64",
"date": "2025-08-10T06:54:39.416000Z",
"version": "5.2"
},
"msg_id": "",
"msg_type": "",
"content": {
"comm_id": "70fa9522a58d43a6815a338216224096",
"data": {
"buffer_paths": [],
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"target_module": null,
"target_name": "jupyter.widget"
},
"buffers": null,
"metadata": {
"version": "2.1.0"
},
"tracker": 0,
"error": null,
"channel": "iopub"
}
comm_msg
{
"header": {
"msg_id": "b66a9da1-41bffe35c2e3491da9b437be_3066_13",
"msg_type": "comm_msg",
"username": "prasunanand",
"session": "b66a9da1-41bffe35c2e3491da9b437be",
"date": "2025-08-10T06:54:39.681694Z",
"version": "5.3"
},
"parent_header": {
"msg_id": "868f14cd-3ffe-4b94-ac5c-b59d6bf4a525",
"msg_type": "execute_request",
"username": "prasunanand",
"session": "cc339e32-a7f4-495a-a34d-9fe3495f7c64",
"date": "2025-08-10T06:54:39.416000Z",
"version": "5.2"
},
"msg_id": "",
"msg_type": "",
"content": {
"comm_id": "0be3639b5d744638b9a5ebb8817b12d9",
"data": {
"buffer_paths": [],
"method": "update",
"state": {
"marks": [
"IPY_MODEL_2bdcf3abfe474882b70ba08fe7ddc5c4"
]
}
}
},
"buffers": null,
"metadata": {},
"tracker": 0,
"error": null,
"channel": "iopub"
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels