Skip to content

Commit

Permalink
docs: fix lexing
Browse files Browse the repository at this point in the history
  • Loading branch information
rsokl committed Mar 31, 2021
1 parent 88e5426 commit 9137ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Gradient Descent with MyGrad

Performing gradient descent on :math:`\mathscr{L}(w) = w ^ 2`

.. code:: pycon
.. code:: python
w = mg.tensor(10.0)
learning_rate = 0.3
Expand Down Expand Up @@ -160,7 +160,7 @@ Computational Graph Visualization

MyGrad provides the capability to visually render diagrams of your computational graphs:

.. code:: pycon
.. code:: python
import mygrad as mg
from mygrad.computational_graph import build_graph
Expand Down

0 comments on commit 9137ee8

Please sign in to comment.