DOI-USGS / geobipy

Geophysical Bayesian Inference in Python. Docs:
https://usgs.github.io/geobipy/
Other
78 stars 19 forks source link

DOI transparency on line plots #7

Closed pbedros closed 5 years ago

pbedros commented 5 years ago

How do you include the DOI as a transparency on top of a line plot? I tried using:

LR.plotDoi(linewidth=0.1, alpha=0.6, percent=40)

but got the following error-

File "plotLine.py", line 63, in LR.plotDoi(linewidth=0.1, alpha=0.6, percent=40) File "/cxfs/projects/software/geobipy/geobipy/src/inversion/LineResults.py", line 462, in plotDoi self.getDOI(percent) File "/cxfs/projects/software/geobipy/geobipy/src/inversion/LineResults.py", line 209, in getDOI self.doi[i] = self.depthGrid.cellCentres[zSize - iC] AttributeError: 'NoneType' object has no attribute 'cellCentres'