Skip to content

Commit 3bee31f

Browse files
author
Roberto De Ioris
authored
Update PlottingGraphsWithMatplotlibAndUnrealEnginePython.md
1 parent c2ac5af commit 3bee31f

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,21 @@ or (based on your config)
6464
pip install matplotlib
6565
```
6666

67+
In the Unreal Engine Python Console (under the 'Window/Developer Tools/Python Console' menu entry) run
68+
69+
```python
70+
import matplotlib
71+
```
72+
73+
if all is ok, you will not get an import error
74+
6775
## Testing matplotlib in Unreal Engine: generating a graph-texture
6876

6977
Time to check if all is working well.
7078

7179
We will start by generating a texture asset. The content of this texture will be managed by matplotlib.
7280

73-
You can use the included python editor to edit your scripts (it is under the Window/Python Editor menu), or your favourite one (SublimeText, Vim, PyCharm...) just ensure scripts are under the Content/Scripts directory of your project.
81+
You can use the included python editor to edit your scripts (it is under the 'Window/Python Editor' menu entry), or your favourite one (SublimeText, Vim, PyCharm...) just ensure scripts are under the Content/Scripts directory of your project.
7482

7583
The steps are: generating a texture in memory, plotting the graph, transferring the graph data into texture memory, save it as an asset and opening the related editor.
7684

0 commit comments

Comments
 (0)