Skip to content

Commit d436bb7

Browse files
committed
docs: Update examples
1 parent f3e452f commit d436bb7

6 files changed

Lines changed: 9 additions & 9 deletions

docs/auto_examples/all_actions_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

docs/auto_examples/guess_the_number_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

docs/auto_examples/order_control_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

docs/auto_examples/order_control_rich_model_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

docs/auto_examples/order_control_rich_model_machine.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Since there's still $6 left to fulfill the payment, we cannot process the order.
214214
.. code-block:: none
215215
216216
217-
OrderControl(model=<__main__.Order object at 0x7fe51b7b5fd0>, state_field='state', current_state='waiting_for_payment')
217+
OrderControl(model=<__main__.Order object at 0x7f5730b462e0>, state_field='state', current_state='waiting_for_payment')
218218
219219
220220
@@ -258,7 +258,7 @@ Now paying the left amount, we can proceed.
258258
.. code-block:: none
259259
260260
261-
OrderControl(model=<__main__.Order object at 0x7fe51b7b5fd0>, state_field='state', current_state='processing')
261+
OrderControl(model=<__main__.Order object at 0x7f5730b462e0>, state_field='state', current_state='processing')
262262
263263
264264
@@ -292,7 +292,7 @@ Now paying the left amount, we can proceed.
292292
.. code-block:: none
293293
294294
295-
OrderControl(model=<__main__.Order object at 0x7fe51b7b5fd0>, state_field='state', current_state='shipping')
295+
OrderControl(model=<__main__.Order object at 0x7f5730b462e0>, state_field='state', current_state='shipping')
296296
297297
298298
@@ -391,7 +391,7 @@ Just checking the final expected state
391391
.. code-block:: none
392392
393393
394-
OrderControl(model=<__main__.Order object at 0x7fe51b7b5fd0>, state_field='state', current_state='completed')
394+
OrderControl(model=<__main__.Order object at 0x7f5730b462e0>, state_field='state', current_state='completed')
395395
396396
397397

docs/auto_examples/traffic_light_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

0 commit comments

Comments
 (0)