added python syntax hilighting to example authored by joha2's avatar joha2
...@@ -16,7 +16,7 @@ To reproduce some of the following screenshots you may just play around a bit ...@@ -16,7 +16,7 @@ To reproduce some of the following screenshots you may just play around a bit
with the demo files in the ~~main~~ demos directory: `~/pyrate$ python -m demos.demo_optimize`. with the demo files in the ~~main~~ demos directory: `~/pyrate$ python -m demos.demo_optimize`.
For setting up your own system, you may use one of our convenience functions For setting up your own system, you may use one of our convenience functions
``` ```python
import pyrateoptics import pyrateoptics
components = [ components = [
... ...
......