Skip to content

Commit 369ef46

Browse files
committed
Added TODOs for PR.
1 parent 0e95fb7 commit 369ef46

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

examples/tutorials/z_other_tutorials/json_io/04_combination_model.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
print("\nModel Metadata:")
8686
print(f"Name: {model.meta.name}")
8787
print(f"Creation Date: {model.meta.creation_date}")
88-
print(f"Last Modified: {model.meta.last_modification_date}") # TODO: This does not update here when running. In 03 you have a current date time setter
88+
# TODO: This does not update here when running. In 03 you have a current date time setter
89+
print(f"Last Modified: {model.meta.last_modification_date}")
8990

9091
print("\nStructural Groups:")
9192
print(model.structural_frame)
@@ -112,15 +113,15 @@
112113

113114
# 2D plots
114115
gpv.plot_2d(model, direction='y', show_results=False)
115-
# gpv.plot_2d(model, direction='y', show_data=True, show_boundaries=True)
116-
# gpv.plot_2d(model, direction='x', show_data=True)
117-
#
118-
# # Plot the blocks accounting for fault blocks
119-
# gpv.plot_2d(
120-
# model=model,
121-
# override_regular_grid=model.solutions.raw_arrays.litho_faults_block,
122-
# show_data=True, kwargs_lithology={'cmap': 'Set1', 'norm': None}
123-
# )
116+
gpv.plot_2d(model, direction='y', show_data=True, show_boundaries=True)
117+
gpv.plot_2d(model, direction='x', show_data=True)
118+
119+
# Plot the blocks accounting for fault blocks
120+
gpv.plot_2d(
121+
model=model,
122+
override_regular_grid=model.solutions.raw_arrays.litho_faults_block,
123+
show_data=True, kwargs_lithology={'cmap': 'Set1', 'norm': None}
124+
)
124125

125126
# 3D plot
126127
gpv.plot_3d(model)

0 commit comments

Comments
 (0)