Skip to content

Commit fea89bd

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

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,21 @@ texture.save_package('/Game/FirstGraphTexture')
123123
ue.open_editor_for_asset(texture)
124124
```
125125

126-
![Texture Created](https://github.com/20tab/UnrealEnginePython/blob/master/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/texture_created.png)
126+
if you are using the included Python Editor, click on 'Save' and then on 'Execute'
127+
128+
if you are using an external editor you can run the script form the python console with:
127129

130+
```python
131+
import unreal_engine as ue
132+
ue.py_exec('name_of_your_script.py')
133+
```
134+
135+
![Texture Created](https://github.com/20tab/UnrealEnginePython/blob/master/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/texture_created.png)
128136

129137
if you ended up with the texture editor opened on your new graph, you are ready for the next steps
130138

139+
140+
131141
## Our project: Plotting a Pie chart tracking overlap events
132142

133143
Our objective is to have a special blueprint in our level exposing 3 cube in 3 different colors.

0 commit comments

Comments
 (0)