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

NaN values in striplog with colour #84

Open kwinkunks opened 8 years ago

kwinkunks commented 8 years ago

When plotting striplog with colour field, it wants a real value for the undefined zones. I'd prefer a light grey, rather than using something from the colourmap.

Maybe there's a way... http://stackoverflow.com/questions/2578752/how-can-i-plot-nan-values-as-a-special-color-with-imshow-in-matplotlib