Skip to content

Commit dcc4865

Browse files
committed
Docs: Fix molecule density plot example
1 parent 07f252c commit dcc4865

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/usage.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,10 @@ individually. Here are a few plotting code examples:
247247

248248
.. code:: python
249249
250-
plt.figure(figsize=(8, 8))
250+
plt.figure(figsize=(6, 6))
251251
252252
for m in ds.joseki.molecules:
253-
ds[f"x_{m}"].plot(
254-
ls="dotted", marker=".", y="z", xscale="log"
255-
)
253+
ds[f"x_{m}"].plot(ls="dotted", marker=".", y="z", xscale="log")
256254
257255
plt.xlabel("mole fraction [dimensionless]")
258256
plt.legend(ds.joseki.molecules)

0 commit comments

Comments
 (0)