agilescientific / striplog

Lithology and stratigraphic logs for wells or outcrop.
https://code.agilescientific.com/striplog
Apache License 2.0
204 stars 69 forks source link

Broken .plot_graph function? #124

Closed ThirstyGeo closed 2 years ago

ThirstyGeo commented 3 years ago

Based in the API for NetworkX, it looks like the 'spline' argument doesn't exist anymore. It should possibly be 'connectionstyle'

Currently doing this

m.plot_graph(figsize=(15,15), max_size=2400, edge_labels=True)

causes this:

TypeError: draw_networkx_edges() got an unexpected keyword argument 'splines'

kwinkunks commented 2 years ago

I think this was fixed by 952488295b3b27f29825b626bd8911d251fc71b9