quick-pp 0.2.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. quick_pp/__init__.py +0 -0
  2. quick_pp/api/__init__.py +0 -0
  3. quick_pp/api/exceptions.py +61 -0
  4. quick_pp/api/fastapi_mlflow/__init__.py +1 -0
  5. quick_pp/api/fastapi_mlflow/_mlflow_types.py +59 -0
  6. quick_pp/api/fastapi_mlflow/applications.py +72 -0
  7. quick_pp/api/fastapi_mlflow/exceptions.py +22 -0
  8. quick_pp/api/fastapi_mlflow/predictors.py +96 -0
  9. quick_pp/api/main.py +90 -0
  10. quick_pp/api/mlflow_model_deployment.py +99 -0
  11. quick_pp/api/qpp_assistant.py +160 -0
  12. quick_pp/api/router.py +18 -0
  13. quick_pp/api/schemas/lithology_hc_correction.py +39 -0
  14. quick_pp/api/schemas/lithology_ssc.py +37 -0
  15. quick_pp/api/schemas/lithology_vsh_gr.py +25 -0
  16. quick_pp/api/schemas/permeability_choo.py +25 -0
  17. quick_pp/api/schemas/permeability_others.py +24 -0
  18. quick_pp/api/schemas/porosity.py +22 -0
  19. quick_pp/api/schemas/ressum.py +29 -0
  20. quick_pp/api/schemas/saturation_archie.py +25 -0
  21. quick_pp/api/schemas/saturation_b.py +24 -0
  22. quick_pp/api/schemas/saturation_qv.py +26 -0
  23. quick_pp/api/schemas/saturation_rw.py +24 -0
  24. quick_pp/api/schemas/saturation_temp_grad.py +24 -0
  25. quick_pp/api/schemas/saturation_waxman_smits.py +28 -0
  26. quick_pp/api/services/las_handler.py +136 -0
  27. quick_pp/api/services/lithology.py +278 -0
  28. quick_pp/api/services/permeability.py +252 -0
  29. quick_pp/api/services/porosity.py +151 -0
  30. quick_pp/api/services/reservoir_summary.py +78 -0
  31. quick_pp/api/services/saturation.py +359 -0
  32. quick_pp/api/static/favicon.ico +0 -0
  33. quick_pp/api/static/logo.png +0 -0
  34. quick_pp/cli.py +118 -0
  35. quick_pp/config.py +94 -0
  36. quick_pp/core_calibration.py +394 -0
  37. quick_pp/fluid_type.py +128 -0
  38. quick_pp/geomechanics.py +195 -0
  39. quick_pp/las_handler.py +327 -0
  40. quick_pp/lithology/__init__.py +80 -0
  41. quick_pp/lithology/carbonate.py +166 -0
  42. quick_pp/lithology/multi_mineral.py +151 -0
  43. quick_pp/lithology/sand_shale.py +79 -0
  44. quick_pp/lithology/sand_silt_clay.py +131 -0
  45. quick_pp/logger.py +19 -0
  46. quick_pp/modelling/__init__.py +0 -0
  47. quick_pp/modelling/config.py +72 -0
  48. quick_pp/modelling/mock_data/mock_data.parquet +0 -0
  49. quick_pp/modelling/predict_pipeline.py +126 -0
  50. quick_pp/modelling/train_pipeline.py +220 -0
  51. quick_pp/modelling/utils.py +111 -0
  52. quick_pp/objects.py +177 -0
  53. quick_pp/permeability.py +151 -0
  54. quick_pp/plotter/__init__.py +0 -0
  55. quick_pp/plotter/plotter.py +315 -0
  56. quick_pp/plotter/well_log.py +187 -0
  57. quick_pp/plotter/well_log_config.py +409 -0
  58. quick_pp/porosity.py +341 -0
  59. quick_pp/qaqc.py +436 -0
  60. quick_pp/ressum.py +326 -0
  61. quick_pp/rock_type.py +499 -0
  62. quick_pp/saturation.py +455 -0
  63. quick_pp/utils.py +328 -0
  64. quick_pp-0.2.3.dist-info/METADATA +103 -0
  65. quick_pp-0.2.3.dist-info/RECORD +69 -0
  66. quick_pp-0.2.3.dist-info/WHEEL +4 -0
  67. quick_pp-0.2.3.dist-info/entry_points.txt +2 -0
  68. quick_pp-0.2.3.dist-info/licenses/AUTHORS.rst +13 -0
  69. quick_pp-0.2.3.dist-info/licenses/LICENSE +22 -0
@@ -0,0 +1,409 @@
1
+ import numpy as np
2
+ from collections import OrderedDict
3
+
4
+
5
+ COLOR_DICT = {
6
+ 'BADHOLE': 'rgba(0, 0, 0, .25)',
7
+ 'BS': 'brown',
8
+ 'CALI': '#618F63',
9
+ 'COAL_FLAG': '#262626',
10
+ 'GR': '#0000FF',
11
+ 'NPHI': '#0000FF',
12
+ 'PERFORATED': '#E20000',
13
+ 'PERM': '#262626',
14
+ 'PHIT': '#262626',
15
+ 'PHIE': '#0000FF',
16
+ 'BVW': "#56C0E4",
17
+ 'RHOB': '#FF0000',
18
+ 'RT': '#FF0000',
19
+ 'PEF': '#ba55d3',
20
+ 'SWT': '#262626',
21
+ 'SWE': '#0000FF',
22
+ 'VCLD': '#BFBFBF',
23
+ 'VCOAL': '#000000',
24
+ 'VGAS': '#FF0000',
25
+ 'VOIL': '#00FF00',
26
+ 'VHC': 'brown',
27
+ 'VSAND': '#F6F674',
28
+ 'VSHALE': '#A65628',
29
+ 'VSILT': '#FE9800',
30
+ 'VCALC': '#b0e0e6',
31
+ 'VDOLO': '#ba55d3',
32
+ 'CPORE': '#FF0000',
33
+ 'CPERM': '#FF0000',
34
+ 'CSAT': '#FF0000',
35
+ 'SHF': '#618F63',
36
+ 'ROCK_FLAG_1': "#F3E3CA",
37
+ }
38
+
39
+ # Define the trace definitions for the well log plot
40
+ # Each trace is defined with its properties such as track number, secondary y-axis, and style
41
+ TRACE_DEFS = OrderedDict(
42
+ GR=dict(
43
+ track=1,
44
+ secondary_y=False,
45
+ hide_xaxis=False,
46
+ style={'line_width': 1, 'line_color': COLOR_DICT['GR']}
47
+ ),
48
+ RT=dict(
49
+ track=2,
50
+ secondary_y=False,
51
+ hide_xaxis=False,
52
+ style={'line_dash': 'dot', 'line_width': 1, 'line_color': COLOR_DICT['RT']}
53
+ ),
54
+ RHOB=dict(
55
+ track=3,
56
+ secondary_y=False,
57
+ hide_xaxis=False,
58
+ style={'line_width': 1, 'line_color': COLOR_DICT['RHOB']}
59
+ ),
60
+ PHIT=dict(
61
+ track=4,
62
+ secondary_y=False,
63
+ hide_xaxis=False,
64
+ style={'line_width': 1, 'line_color': COLOR_DICT['PHIT']}
65
+ ),
66
+ PERM=dict(
67
+ track=5,
68
+ secondary_y=False,
69
+ hide_xaxis=False,
70
+ style={'line_width': 1, 'line_color': COLOR_DICT['PERM']}
71
+ ),
72
+ SWT=dict(
73
+ track=6,
74
+ secondary_y=False,
75
+ hide_xaxis=False,
76
+ style={'line_width': 1, 'line_color': COLOR_DICT['SWT']}
77
+ ),
78
+ ROCK_FLAG_1=dict(
79
+ track=7,
80
+ secondary_y=False,
81
+ hide_xaxis=False,
82
+ style={
83
+ 'line_width': 1, 'line_color': COLOR_DICT['ROCK_FLAG_1'], 'fill': 'tozerox',
84
+ 'fillcolor': COLOR_DICT['ROCK_FLAG_1']
85
+ }
86
+ ),
87
+ VCLD=dict(
88
+ track=8,
89
+ secondary_y=False,
90
+ hide_xaxis=False,
91
+ style={
92
+ 'line_width': .5, 'line_color': 'black', 'fill': 'tozerox', 'fillpattern_bgcolor': COLOR_DICT['VCLD'],
93
+ 'fillpattern_fgcolor': '#000000', 'fillpattern_fillmode': 'replace', 'fillpattern_shape': '-',
94
+ 'fillpattern_size': 2, 'fillpattern_solidity': 0.1, 'stackgroup': 'litho', 'orientation': 'h'
95
+ }
96
+ ),
97
+ NPHI=dict(
98
+ track=3,
99
+ secondary_y=True,
100
+ hide_xaxis=False,
101
+ style={'line_dash': 'dot', 'line_width': 1, 'line_color': COLOR_DICT['NPHI']}
102
+ ),
103
+ PHIE=dict(
104
+ track=4,
105
+ secondary_y=True,
106
+ hide_xaxis=False,
107
+ style={'line_dash': 'dot', 'line_width': 1, 'line_color': COLOR_DICT['PHIE']}
108
+ ),
109
+ SWE=dict(
110
+ track=6,
111
+ secondary_y=True,
112
+ hide_xaxis=False,
113
+ style={'line_dash': 'dot', 'line_width': 1, 'line_color': COLOR_DICT['SWE']}
114
+ ),
115
+ CALI=dict(
116
+ track=1,
117
+ secondary_y=False,
118
+ hide_xaxis=False,
119
+ style={
120
+ 'line_dash': 'dot', 'line_width': 1, 'line_color': COLOR_DICT['CALI'], 'fill': 'tozerox',
121
+ 'fillcolor': 'rgba(165, 42, 42, .15)'
122
+ }
123
+ ),
124
+ BS=dict(
125
+ track=1,
126
+ secondary_y=False,
127
+ hide_xaxis=False,
128
+ style={'line_dash': 'dashdot', 'line_width': 1, 'line_color': COLOR_DICT['BS']}
129
+ ),
130
+ BADHOLE=dict(
131
+ track=1,
132
+ secondary_y=False,
133
+ hide_xaxis=True,
134
+ style={'fill': 'tozerox', 'fillcolor': 'rgba(0, 0, 0, .25)'}
135
+ ),
136
+ VSILT=dict(
137
+ track=8,
138
+ secondary_y=False,
139
+ hide_xaxis=True,
140
+ style={
141
+ 'line_width': .5, 'line_color': 'black', 'fill': 'tonextx', 'fillpattern_bgcolor': COLOR_DICT['VSILT'],
142
+ 'fillpattern_fgcolor': '#000000', 'fillpattern_fillmode': 'replace', 'fillpattern_shape': '.',
143
+ 'fillpattern_size': 3, 'fillpattern_solidity': 0.1, 'stackgroup': 'litho', 'orientation': 'h'
144
+ }
145
+ ),
146
+ VSAND=dict(
147
+ track=8,
148
+ secondary_y=False,
149
+ hide_xaxis=True,
150
+ style={
151
+ 'line_width': .5, 'line_color': 'black', 'fill': 'tonextx', 'fillpattern_bgcolor': COLOR_DICT['VSAND'],
152
+ 'fillpattern_fgcolor': '#000000', 'fillpattern_fillmode': 'replace', 'fillpattern_shape': '.',
153
+ 'fillpattern_size': 3, 'fillpattern_solidity': 0.1, 'stackgroup': 'litho', 'orientation': 'h'
154
+ }
155
+ ),
156
+ VCALC=dict(
157
+ track=8,
158
+ secondary_y=False,
159
+ hide_xaxis=True,
160
+ style={
161
+ 'line_width': .5, 'line_color': 'black', 'fill': 'tonextx', 'fillpattern_bgcolor': COLOR_DICT['VCALC'],
162
+ 'fillpattern_fgcolor': '#000000', 'fillpattern_fillmode': 'replace', 'fillpattern_shape': '.',
163
+ 'fillpattern_size': 3, 'fillpattern_solidity': 0.1, 'stackgroup': 'litho', 'orientation': 'h'
164
+ }
165
+ ),
166
+ VDOLO=dict(
167
+ track=8,
168
+ secondary_y=False,
169
+ hide_xaxis=True,
170
+ style={
171
+ 'line_width': .5, 'line_color': 'black', 'fill': 'tonextx', 'fillpattern_bgcolor': COLOR_DICT['VDOLO'],
172
+ 'fillpattern_fgcolor': '#000000', 'fillpattern_fillmode': 'replace', 'fillpattern_shape': '-',
173
+ 'fillpattern_size': 3, 'fillpattern_solidity': 0.3, 'stackgroup': 'litho', 'orientation': 'h'
174
+ }
175
+ ),
176
+ VHC=dict(
177
+ track=8,
178
+ secondary_y=False,
179
+ hide_xaxis=True,
180
+ style={
181
+ 'line_width': .5, 'fill': 'tonextx', 'fillcolor': COLOR_DICT['VHC'],
182
+ 'stackgroup': 'litho', 'orientation': 'h'
183
+ }
184
+ ),
185
+ VGAS=dict(
186
+ track=8,
187
+ secondary_y=False,
188
+ hide_xaxis=True,
189
+ style={
190
+ 'line_width': .5, 'fill': 'tonextx', 'fillcolor': COLOR_DICT['VGAS'],
191
+ 'stackgroup': 'litho', 'orientation': 'h'
192
+ }
193
+ ),
194
+ VOIL=dict(
195
+ track=8,
196
+ secondary_y=False,
197
+ hide_xaxis=True,
198
+ style={
199
+ 'line_width': .5, 'fill': 'tonextx', 'fillcolor': COLOR_DICT['VOIL'],
200
+ 'stackgroup': 'litho', 'orientation': 'h'
201
+ }
202
+ ),
203
+ PEF=dict(
204
+ track=3,
205
+ secondary_y=True,
206
+ hide_xaxis=False,
207
+ style={'line_dash': 'dashdot', 'line_width': .75, 'line_color': COLOR_DICT['PEF']}
208
+ ),
209
+ CPORE=dict(
210
+ track=4,
211
+ secondary_y=True,
212
+ hide_xaxis=False,
213
+ style={'mode': 'markers', 'marker': dict(color=COLOR_DICT['CPORE'], size=3)}
214
+ ),
215
+ CPERM=dict(
216
+ track=5,
217
+ secondary_y=True,
218
+ hide_xaxis=False,
219
+ style={'mode': 'markers', 'marker': dict(color=COLOR_DICT['CPERM'], size=3)}
220
+ ),
221
+ CSAT=dict(
222
+ track=6,
223
+ secondary_y=True,
224
+ hide_xaxis=False,
225
+ style={'mode': 'markers', 'marker': dict(color=COLOR_DICT['CSAT'], size=3)}
226
+ ),
227
+ SHF=dict(
228
+ track=6,
229
+ secondary_y=True,
230
+ hide_xaxis=False,
231
+ style={'line_dash': 'dashdot', 'line_width': 1, 'line_color': COLOR_DICT['SHF']}
232
+ ),
233
+ BVW=dict(
234
+ track=4,
235
+ secondary_y=True,
236
+ hide_xaxis=False,
237
+ style={
238
+ 'line_dash': 'dashdot', 'line_width': .5, 'fill': 'tozerox', 'line_color': COLOR_DICT['BVW'],
239
+ 'fillcolor': 'rgba(98, 180, 207, .5)'
240
+ }
241
+ ),
242
+ COAL_FLAG=dict(
243
+ track=8,
244
+ secondary_y=True,
245
+ hide_xaxis=False,
246
+ style={
247
+ 'line_color': COLOR_DICT['COAL_FLAG'], 'fill': 'tozerox',
248
+ 'fillcolor': 'rgba(0,0,0,1)', 'opacity': 1
249
+ }
250
+ ),
251
+ ZONES=dict(
252
+ track=8,
253
+ secondary_y=True,
254
+ hide_xaxis=True,
255
+ style={
256
+ 'line_color': COLOR_DICT['COAL_FLAG'], 'fill': 'tozerox',
257
+ 'fillcolor': 'rgba(0,0,0,1)', 'opacity': 1
258
+ }
259
+ )
260
+ )
261
+
262
+ # Centralize axis definitions for maintainability
263
+ font_size = 8
264
+ XAXIS_DEFS = {
265
+ 'GR': {
266
+ 'title': 'GR',
267
+ 'titlefont': {'color': COLOR_DICT['GR'], 'size': font_size},
268
+ 'tickfont': {'color': COLOR_DICT['GR'], 'size': font_size},
269
+ 'side': 'top', 'anchor': 'free', 'position': .85,
270
+ 'title_standoff': .1, 'dtick': 40, 'range': [0, 200], 'type': 'linear', 'zeroline': False
271
+ },
272
+ 'RT': {
273
+ 'title': 'RT',
274
+ 'titlefont': {'color': COLOR_DICT['RT'], 'size': font_size},
275
+ 'tickfont': {'color': COLOR_DICT['RT'], 'size': font_size},
276
+ 'side': 'top', 'anchor': 'free', 'position': .85,
277
+ 'title_standoff': .1, 'range': [np.log10(.2), np.log10(2000)], 'type': 'log',
278
+ 'tickmode': 'array', 'tickvals': np.geomspace(0.2, 2000, 5), 'tickangle': -90, 'minor_showgrid': True
279
+ },
280
+ 'RHOB': {
281
+ 'title': 'RHOB',
282
+ 'titlefont': {'color': COLOR_DICT['RHOB'], 'size': font_size},
283
+ 'tickformat': ".2f", 'tick0': 1.95, 'dtick': 0.2, 'tickangle': -90,
284
+ 'tickfont': {'color': COLOR_DICT['RHOB'], 'size': font_size},
285
+ 'side': 'top', 'anchor': 'free', 'position': .85,
286
+ 'title_standoff': .1, 'range': [1.95, 2.95], 'type': 'linear'
287
+ },
288
+ 'PHIT': {
289
+ 'title': 'PHIT',
290
+ 'titlefont': {'color': COLOR_DICT['PHIT'], 'size': font_size},
291
+ 'tickfont': {'color': COLOR_DICT['PHIT'], 'size': font_size},
292
+ 'side': 'top', 'anchor': 'free', 'position': .88, 'title_standoff': .1,
293
+ 'dtick': 0.1, 'range': [0, 0.5], 'type': 'linear', 'zeroline': False
294
+ },
295
+ 'PERM': {
296
+ 'title': 'PERM',
297
+ 'titlefont': {'color': COLOR_DICT['PERM'], 'size': font_size},
298
+ 'tickfont': {'color': COLOR_DICT['PERM'], 'size': font_size},
299
+ 'side': 'top', 'anchor': 'free', 'position': .91, 'title_standoff': .1,
300
+ 'range': [np.log10(0.1), np.log10(10000)], 'type': 'log', 'tickformat': 'd', 'tickangle': -90,
301
+ 'minor_showgrid': True
302
+ },
303
+ 'SWT': {
304
+ 'title': 'SWT',
305
+ 'titlefont': {'color': COLOR_DICT['SWT'], 'size': font_size},
306
+ 'tickfont': {'color': COLOR_DICT['SWT'], 'size': font_size},
307
+ 'side': 'top', 'anchor': 'free', 'position': .88, 'title_standoff': .1,
308
+ 'dtick': 0.2, 'range': [0, 1], 'type': 'linear', 'zeroline': False
309
+ },
310
+ 'ROCK_FLAG_1': {
311
+ 'title': '', 'tickfont_size': 1, 'side': 'top', 'anchor': 'free', 'position': .88,
312
+ 'title_standoff': .1, 'range': [0.1, 0.2], 'type': 'linear', 'showgrid': False, 'zeroline': False
313
+ },
314
+ 'VCLD': {
315
+ 'title': 'VOLUMETRIC',
316
+ 'titlefont': {'color': 'black', 'size': font_size},
317
+ 'tickfont': {'color': 'black', 'size': font_size},
318
+ 'side': 'top', 'anchor': 'free', 'position': .85, 'title_standoff': .1,
319
+ 'range': [0, 1], 'type': 'linear', 'zeroline': False
320
+ },
321
+ 'NPHI': {
322
+ 'title': 'NPHI',
323
+ 'titlefont': {'color': COLOR_DICT['NPHI'], 'size': font_size},
324
+ 'tickfont': {'color': COLOR_DICT['NPHI'], 'size': font_size}, 'zeroline': False,
325
+ 'side': 'top', 'anchor': 'free', 'position': .89, 'title_standoff': .1, 'overlaying': 'x3',
326
+ 'tickformat': ".2f", 'tick0': -.15, 'dtick': 0.12, 'range': [.45, -.15], 'type': 'linear', 'tickangle': -90
327
+ },
328
+ 'PHIE': {
329
+ 'title': 'PHIE',
330
+ 'titlefont': {'color': COLOR_DICT['PHIE'], 'size': font_size},
331
+ 'tickfont': {'color': COLOR_DICT['PHIE'], 'size': font_size},
332
+ 'side': 'top', 'anchor': 'free', 'position': .92, 'title_standoff': .1, 'overlaying': 'x4',
333
+ 'dtick': 0.1, 'range': [0, 0.5], 'type': 'linear', 'zeroline': False
334
+ },
335
+ 'SWE': {
336
+ 'title': 'SWE',
337
+ 'titlefont': {'color': COLOR_DICT['SWE'], 'size': font_size},
338
+ 'tickfont': {'color': COLOR_DICT['SWE'], 'size': font_size},
339
+ 'side': 'top', 'anchor': 'free', 'position': .92, 'title_standoff': .1, 'overlaying': 'x6',
340
+ 'dtick': 0.2, 'range': [0, 1], 'type': 'linear', 'zeroline': False
341
+ },
342
+ 'CALI': {
343
+ 'title': 'CALI',
344
+ 'titlefont': {'color': COLOR_DICT['CALI'], 'size': font_size},
345
+ 'tickfont': {'color': COLOR_DICT['CALI'], 'size': font_size},
346
+ 'side': 'top', 'anchor': 'free', 'position': .89, 'title_standoff': .1, 'overlaying': 'x1',
347
+ 'dtick': 6, 'range': [6, 24], 'type': 'linear', 'showgrid': False
348
+ },
349
+ 'BS': {
350
+ 'title': 'BS',
351
+ 'titlefont': {'color': COLOR_DICT['BS'], 'size': font_size},
352
+ 'tickfont': {'color': COLOR_DICT['BS'], 'size': font_size},
353
+ 'side': 'top', 'anchor': 'free', 'position': .92, 'title_standoff': .1, 'overlaying': 'x1',
354
+ 'dtick': 6, 'range': [6, 24], 'type': 'linear', 'showgrid': False
355
+ },
356
+ 'BADHOLE': {
357
+ 'title': 'BADHOLE',
358
+ 'titlefont': {'color': COLOR_DICT['BADHOLE'], 'size': font_size},
359
+ 'tickfont': {'size': 1},
360
+ 'side': 'top', 'anchor': 'free', 'position': .96, 'title_standoff': .1, 'overlaying': 'x1',
361
+ 'range': [0.1, 5], 'type': 'linear', 'showgrid': False, 'zeroline': False
362
+ },
363
+ 'PEF': {
364
+ 'title': 'PEF',
365
+ 'titlefont': {'color': COLOR_DICT['PEF'], 'size': font_size},
366
+ 'tickfont': {'color': COLOR_DICT['PEF'], 'size': font_size}, 'zeroline': False,
367
+ 'side': 'top', 'anchor': 'free', 'position': .94, 'title_standoff': .1, 'overlaying': 'x3',
368
+ 'range': [-10, 10], 'type': 'linear', 'showgrid': False
369
+ },
370
+ 'CPORE': {
371
+ 'title': 'CPORE',
372
+ 'titlefont': {'color': COLOR_DICT['CPORE'], 'size': font_size},
373
+ 'tickfont': {'color': COLOR_DICT['CPORE'], 'size': font_size},
374
+ 'side': 'top', 'anchor': 'free', 'position': .85, 'title_standoff': .1, 'overlaying': 'x4',
375
+ 'dtick': 0.1, 'range': [0, .5], 'type': 'linear', 'showgrid': False, 'zeroline': False
376
+ },
377
+ 'CPERM': {
378
+ 'title': 'CPERM',
379
+ 'titlefont': {'color': COLOR_DICT['CPERM'], 'size': font_size},
380
+ 'tickfont': {'color': COLOR_DICT['CPERM'], 'size': font_size},
381
+ 'side': 'top', 'anchor': 'free', 'position': .85, 'title_standoff': .1, 'overlaying': 'x5',
382
+ 'range': [np.log10(0.1), np.log10(10000)], 'type': 'log', 'tickformat': 'd', 'tickangle': -90,
383
+ 'zeroline': False, 'showgrid': False
384
+ },
385
+ 'CSAT': {
386
+ 'title': 'CSAT',
387
+ 'titlefont': {'color': COLOR_DICT['CSAT'], 'size': font_size},
388
+ 'tickfont': {'color': COLOR_DICT['CSAT'], 'size': font_size},
389
+ 'side': 'top', 'anchor': 'free', 'position': .85, 'title_standoff': .1, 'overlaying': 'x6',
390
+ 'dtick': 0.2, 'range': [0, 1], 'type': 'linear', 'zeroline': False, 'showgrid': False
391
+ },
392
+ 'SHF': {
393
+ 'title': 'SHF',
394
+ 'titlefont': {'color': COLOR_DICT['SHF'], 'size': font_size},
395
+ 'tickfont': {'color': COLOR_DICT['SHF'], 'size': font_size},
396
+ 'side': 'top', 'anchor': 'free', 'position': .96, 'title_standoff': .1, 'overlaying': 'x6',
397
+ 'dtick': 0.2, 'range': [0, 1], 'type': 'linear', 'zeroline': False, 'showgrid': False
398
+ },
399
+ 'BVW': {
400
+ 'title': 'BVW',
401
+ 'titlefont': {'color': COLOR_DICT['BVW'], 'size': font_size},
402
+ 'tickfont': {'color': COLOR_DICT['BVW'], 'size': font_size},
403
+ 'side': 'top', 'anchor': 'free', 'position': .96, 'title_standoff': .1, 'overlaying': 'x4',
404
+ 'dtick': 0.1, 'range': [0, 0.5], 'type': 'linear', 'zeroline': False
405
+ },
406
+ 'COAL_FLAG': {
407
+ 'range': [0.1, .2], 'type': 'linear', 'showgrid': False, 'zeroline': False,
408
+ },
409
+ }