gempy-project / gempy

GemPy is an open-source, Python-based 3-D structural geological modeling software, which allows the implicit (i.e. automatic) creation of complex geological models from interface and orientation data. It also offers support for stochastic modeling to address parameter and model uncertainties.
https://gempy.org
European Union Public License 1.2
941 stars 232 forks source link

Error on changing fault color #865

Closed qq123hht closed 3 months ago

qq123hht commented 6 months ago

What is your question? When I set the color of the fault to red(#ff0000), it still displays other color. So how can I change the color of faults?

The good news is that the color of the strata can be successfully changed.

Thanks in advance. Looking forward to your reply.

colordict = {'Main_Fault':'#ff0000', 'rock1':'#5c5555', 'rock2':'#000000', 'basement':'##ffaa00'} geo_model.surfaces.colors.change_colors(colordict)

321

javoha commented 3 months ago

Hello and sorry for the (very) late reply. The new version (gempy v3) resolves this issue. I will close it, please feel free to reopen if the problem persists.