Skip to content

Commit b102fc1

Browse files
authored
docs: update example of read_species (#2238)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Corrected a key in the `n_species` dictionary to ensure accurate data retrieval. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 8167e1a commit b102fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reacnetgenerator/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def read_species(
3636
>>> from reacnetgenerator.tools import read_species
3737
>>> import matplotlib.pyplot as plt
3838
>>> step_idx, n_species = read_species('methane.species')
39-
>>> plt.plot(step_idx, n_species['[H]C([H])([H])[H]'])
39+
>>> plt.plot(step_idx, n_species['[H][C]([H])([H])[H]'])
4040
>>> plt.savefig("methane.svg")
4141
"""
4242
step_idx = []

0 commit comments

Comments
 (0)