Skip to content

Commit 7650d20

Browse files
Remove follow-up TAS example after QAP diagram
1 parent 1c6e3bc commit 7650d20

File tree

1 file changed

+0
-11
lines changed
  • docs/source/gallery/examples/geochem

1 file changed

+0
-11
lines changed

docs/source/gallery/examples/geochem/CIPW.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -204,18 +204,7 @@ def compare_NORMs(SINCLAS_outputs, NORM_outputs, name=""):
204204
#
205205
fig, ax = compare_NORMs(df.loc[~volcanic_filter, :], NORM.loc[~volcanic_filter])
206206
plt.show()
207-
########################################################################################
208-
# We could also compare how these mineralogical distinctions map into chemical ones
209-
# like the TAS diagram:
210-
#
211-
from pyrolite.plot.templates import TAS
212207

213-
ax = TAS()
214-
components = df.loc[:, ["SiO2"]]
215-
components["alkali"] = df.loc[:, ["Na2O", "K2O"]].sum(axis=1)
216-
# add the predictions from normative mineralogy to the TAS diagram
217-
components.pyroplot.scatter(ax=ax, c=predicted_classes, cmap="tab20c", axlabels=False)
218-
plt.show()
219208
########################################################################################
220209
# References
221210
# ~~~~~~~~~~

0 commit comments

Comments
 (0)