Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 333 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 333 Bytes

mollusk

Python library for parsing mol-files and drawing molecular skeleton/stick figures with matplotlib

Simple usage

from mollusk.mol import skeleton
import matplotlib.pyplot as plt

fig, ax = matplotlib.figure(figsize=8,6)
molfile = 'path/to/your/molfile.mol'

skeleton.draw_mol(fig, ax, molfile)

plt.show()