This file is indexed.

/usr/lib/python2.7/dist-packages/guiqwt/config.py is in python-guiqwt 3.0.3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 CEA
# Pierre Raybaut
# Licensed under the terms of the CECILL License
# (see guiqwt/__init__.py for details)

"""
guiqwt.config
-------------

The `config` module handles `guiqwt` configuration (options, images and icons).
"""

import os.path as osp

from guidata.configtools import add_image_module_path, get_translation


_ = get_translation( "guiqwt" )


def make_title(basename, count):
    """Make item title with *basename* and *count* number"""
    return "%s %s%d" % (basename, _("#"), count)


APP_PATH = osp.dirname(__file__)
add_image_module_path( "guiqwt", "images" )

DEFAULTS = {
            'plot':
             {
              "selection/distance": 6,
              "antialiasing": False,
              
              "title/font/size": 12,
              "title/font/bold": False,

              "selected_curve_symbol/marker": 'Rect',
              "selected_curve_symbol/edgecolor": "gray",
              "selected_curve_symbol/facecolor": "black",
              "selected_curve_symbol/alpha": .3,
              "selected_curve_symbol/size": 7,

              # Default parameters for plot axes
              "axis/title": "",
              "axis/unit": "",
              "axis/color": "black",
              "axis/title_font/size": 8,
              "axis/title_font/family": "default",
              "axis/title_font/bold": False,
              "axis/title_font/italic": False,
              "axis/ticks_font/size": 8,
              "axis/ticks_font/family": "default",
              "axis/ticks_font/bold": False,
              "axis/ticks_font/italic": False,

              # Default parameters for X/Y image axes
              "image_axis/title": "",
              "image_axis/unit": _("pixels"),
              "image_axis/color": "black",
              "image_axis/title_font/size": 8,
              "image_axis/title_font/family": "default",
              "image_axis/title_font/bold": False,
              "image_axis/title_font/italic": False,
              "image_axis/ticks_font/size": 8,
              "image_axis/ticks_font/family": "default",
              "image_axis/ticks_font/bold": False,
              "image_axis/ticks_font/italic": False,

              # Default parameters for color scale
              "color_axis/title": _("Intensity"),
              "color_axis/unit": _("lsb"),
              "color_axis/color": "black",
              "color_axis/title_font/size": 8,
              "color_axis/title_font/family": "default",
              "color_axis/title_font/bold": False,
              "color_axis/title_font/italic": False,
              "color_axis/ticks_font/size": 8,
              "color_axis/ticks_font/family": "default",
              "color_axis/ticks_font/bold": False,
              "color_axis/ticks_font/italic": False,

              "grid/maj_xenabled": True,
              "grid/maj_yenabled": True,
              "grid/maj_line/color": "darkgray",
              "grid/maj_line/width": 1,
              "grid/maj_line/style": 'DotLine',
              "grid/min_xenabled": True,
              "grid/min_yenabled": True,
              "grid/min_line/color": "#eaeaea",
              "grid/min_line/width": 1,
              "grid/min_line/style": 'DotLine',
              
              "marker/curve/symbol/marker": 'Rect',
              "marker/curve/symbol/edgecolor": "blue",
              "marker/curve/symbol/facecolor": "cyan",
              "marker/curve/symbol/alpha": .8,
              "marker/curve/symbol/size": 7,
              "marker/curve/text/font/size": 8,
              "marker/curve/text/font/family": "default",
              "marker/curve/text/font/bold": False,
              "marker/curve/text/font/italic": False,
              "marker/curve/text/textcolor": "black",
              "marker/curve/text/background_color": "#ffffff",
              "marker/curve/text/background_alpha": 0.8,
              "marker/curve/line/style": "SolidLine",
              "marker/curve/line/color": "black",
              "marker/curve/line/width": 0,
              "marker/curve/sel_symbol/marker": 'Rect',
              "marker/curve/sel_symbol/edgecolor": "blue",
              "marker/curve/sel_symbol/facecolor": "cyan",
              "marker/curve/sel_symbol/alpha": .8,
              "marker/curve/sel_symbol/size": 7,
              "marker/curve/sel_text/font/size": 8,
              "marker/curve/sel_text/font/family": "default",
              "marker/curve/sel_text/font/bold": False,
              "marker/curve/sel_text/font/italic": False,
              "marker/curve/sel_text/textcolor": "black",
              "marker/curve/sel_text/background_color": "#ffffff",
              "marker/curve/sel_text/background_alpha": 0.8,
              "marker/curve/sel_line/style": "SolidLine",
              "marker/curve/sel_line/color": "black",
              "marker/curve/sel_line/width": 0,
              "marker/curve/markerstyle": "NoLine",
              "marker/curve/spacing": 7,

              "marker/cross/symbol/marker": 'Cross',
              "marker/cross/symbol/edgecolor": "black",
              "marker/cross/symbol/facecolor": "red",
              "marker/cross/symbol/alpha": 1.,
              "marker/cross/symbol/size": 8,
              "marker/cross/text/font/family": "default",
              "marker/cross/text/font/size": 8,
              "marker/cross/text/font/bold": False,
              "marker/cross/text/font/italic": False,
              "marker/cross/text/textcolor": "black",
              "marker/cross/text/background_color": "#ffffff",
              "marker/cross/text/background_alpha": 0.8,
              "marker/cross/line/style": "DashLine",
              "marker/cross/line/color": "yellow",
              "marker/cross/line/width": 1,
              "marker/cross/sel_symbol/marker": 'Cross',
              "marker/cross/sel_symbol/edgecolor": "black",
              "marker/cross/sel_symbol/facecolor": "red",
              "marker/cross/sel_symbol/alpha": 1.,
              "marker/cross/sel_symbol/size": 8,
              "marker/cross/sel_text/font/family": "default",
              "marker/cross/sel_text/font/size": 8,
              "marker/cross/sel_text/font/bold": False,
              "marker/cross/sel_text/font/italic": False,
              "marker/cross/sel_text/textcolor": "black",
              "marker/cross/sel_text/background_color": "#ffffff",
              "marker/cross/sel_text/background_alpha": 0.8,
              "marker/cross/sel_line/style": "DashLine",
              "marker/cross/sel_line/color": "yellow",
              "marker/cross/sel_line/width": 1,
              "marker/cross/markerstyle": "Cross",
              "marker/cross/spacing": 7,

              "marker/selectpoint/symbol/marker": 'Rect',
              "marker/selectpoint/symbol/edgecolor": "blue",
              "marker/selectpoint/symbol/facecolor": "cyan",
              "marker/selectpoint/symbol/alpha": .8,
              "marker/selectpoint/symbol/size": 7,
              "marker/selectpoint/text/font/size": 8,
              "marker/selectpoint/text/font/family": "default",
              "marker/selectpoint/text/font/bold": False,
              "marker/selectpoint/text/font/italic": False,
              "marker/selectpoint/text/textcolor": "black",
              "marker/selectpoint/text/background_color": "#ffffff",
              "marker/selectpoint/text/background_alpha": 0.8,
              "marker/selectpoint/line/style": "SolidLine",
              "marker/selectpoint/line/color": "black",
              "marker/selectpoint/line/width": 0,
              "marker/selectpoint/sel_symbol/marker": 'Rect',
              "marker/selectpoint/sel_symbol/edgecolor": "blue",
              "marker/selectpoint/sel_symbol/facecolor": "cyan",
              "marker/selectpoint/sel_symbol/alpha": .8,
              "marker/selectpoint/sel_symbol/size": 7,
              "marker/selectpoint/sel_text/font/size": 8,
              "marker/selectpoint/sel_text/font/family": "default",
              "marker/selectpoint/sel_text/font/bold": False,
              "marker/selectpoint/sel_text/font/italic": False,
              "marker/selectpoint/sel_text/textcolor": "black",
              "marker/selectpoint/sel_text/background_color": "#ffffff",
              "marker/selectpoint/sel_text/background_alpha": 0.8,
              "marker/selectpoint/sel_line/style": "SolidLine",
              "marker/selectpoint/sel_line/color": "black",
              "marker/selectpoint/sel_line/width": 0,
              "marker/selectpoint/markerstyle": "NoLine",
              "marker/selectpoint/spacing": 7,

              "marker/cursor/line/style": "SolidLine",
              "marker/cursor/line/color": "#ff9393",
              "marker/cursor/line/width": 1.,
              "marker/cursor/symbol/marker": 'Ellipse',
              "marker/cursor/symbol/size": 7,
              "marker/cursor/symbol/edgecolor": "white",
              "marker/cursor/symbol/facecolor": "#ff9393",
              "marker/cursor/symbol/alpha": 1.,
              "marker/cursor/text/font/size": 8,
              "marker/cursor/text/font/family": "default",
              "marker/cursor/text/font/bold": False,
              "marker/cursor/text/font/italic": False,
              "marker/cursor/text/textcolor": "#ff9393",
              "marker/cursor/text/background_color": "#ffffff",
              "marker/cursor/text/background_alpha": 0.8,
              "marker/cursor/sel_line/style": "SolidLine",
              "marker/cursor/sel_line/color": "red",
              "marker/cursor/sel_line/width": 2.,
              "marker/cursor/sel_symbol/marker": 'Ellipse',
              "marker/cursor/sel_symbol/size": 9,
              "marker/cursor/sel_symbol/edgecolor": "white",
              "marker/cursor/sel_symbol/facecolor": "red",
              "marker/cursor/sel_symbol/alpha": .9,
              "marker/cursor/sel_text/font/size": 8,
              "marker/cursor/sel_text/font/family": "default",
              "marker/cursor/sel_text/font/bold": True,
              "marker/cursor/sel_text/font/italic": False,
              "marker/cursor/sel_text/textcolor": "red",
              "marker/cursor/sel_text/background_color": "#ffffff",
              "marker/cursor/sel_text/background_alpha": 0.8,
              "marker/cursor/markerstyle": "NoLine",
              "marker/cursor/spacing": 7,

              "shape/drag/line/style": 'SolidLine',
              "shape/drag/line/color": "#ffff00",
              "shape/drag/line/width": 1,
              "shape/drag/fill/style": "SolidPattern",
              "shape/drag/fill/color": "white",
              "shape/drag/fill/alpha": 0.1,              
              "shape/drag/symbol/marker": 'Rect',
              "shape/drag/symbol/size": 3,
              "shape/drag/symbol/edgecolor": "#ffff00",
              "shape/drag/symbol/facecolor": "#ffff00",
              "shape/drag/symbol/alpha": 1.,
              "shape/drag/sel_line/style": 'SolidLine',
              "shape/drag/sel_line/color": "#00ff00",
              "shape/drag/sel_line/width": 1,
              "shape/drag/sel_fill/style": "SolidPattern",
              "shape/drag/sel_fill/color": "white",
              "shape/drag/sel_fill/alpha": 0.1,              
              "shape/drag/sel_symbol/marker": 'Rect',
              "shape/drag/sel_symbol/size": 9,
              "shape/drag/sel_symbol/edgecolor": "#00aa00",
              "shape/drag/sel_symbol/facecolor": "#00ff00",
              "shape/drag/sel_symbol/alpha": .7,

              "shape/imageborder/line/style": 'NoPen',
              "shape/imageborder/line/color": "gray",
              "shape/imageborder/line/width": 0,
              "shape/imageborder/fill/style": "NoBrush",
              "shape/imageborder/fill/color": "black",
              "shape/imageborder/fill/alpha": 0.0,              
              "shape/imageborder/fill/angle": 0.0,
              "shape/imageborder/fill/sx": 1.0,
              "shape/imageborder/fill/sy": 1.0,
              "shape/imageborder/symbol/marker": 'NoSymbol',
              "shape/imageborder/symbol/size": 7,
              "shape/imageborder/symbol/edgecolor": "gray",
              "shape/imageborder/symbol/facecolor": "black",
              "shape/imageborder/symbol/alpha": .3,
              "shape/imageborder/sel_line/style": 'SolidLine',
              "shape/imageborder/sel_line/color": "gray",
              "shape/imageborder/sel_line/width": 3,
              "shape/imageborder/sel_symbol/marker": 'Rect',
              "shape/imageborder/sel_symbol/size": 7,
              "shape/imageborder/sel_symbol/edgecolor": "gray",
              "shape/imageborder/sel_symbol/facecolor": "black",
              "shape/imageborder/sel_symbol/alpha": .8,
              "shape/imageborder/sel_fill/style": "NoBrush",
              "shape/imageborder/sel_fill/color": "gray",
              "shape/imageborder/sel_fill/alpha": 0.5,
              "shape/imageborder/sel_fill/angle": 0.0,
              "shape/imageborder/sel_fill/sx": 1.0,
              "shape/imageborder/sel_fill/sy": 1.0,

              "shape/imagefilter/line/style": 'SolidLine',
              "shape/imagefilter/line/color": "#ffff00",
              "shape/imagefilter/line/width": 1,
              "shape/imagefilter/sel_line/style": 'SolidLine',
              "shape/imagefilter/sel_line/color": "#00ffff",
              "shape/imagefilter/sel_line/width": 2,
              "shape/imagefilter/fill/style": "NoBrush",
              "shape/imagefilter/fill/color": "white",
              "shape/imagefilter/fill/alpha": 0.0,
              "shape/imagefilter/sel_fill/style": "SolidPattern",
              "shape/imagefilter/sel_fill/color": "white",
              "shape/imagefilter/sel_fill/alpha": 0.2,
              "shape/imagefilter/symbol/marker": 'Rect',
              "shape/imagefilter/symbol/size": 3,
              "shape/imagefilter/symbol/edgecolor": "#ffff00",
              "shape/imagefilter/symbol/facecolor": "#ffff00",
              "shape/imagefilter/symbol/alpha": 1.,
              "shape/imagefilter/sel_symbol/marker": 'Ellipse',
              "shape/imagefilter/sel_symbol/size": 7,
              "shape/imagefilter/sel_symbol/edgecolor": "#0000ff",
              "shape/imagefilter/sel_symbol/facecolor": "#00ffff",
              "shape/imagefilter/sel_symbol/alpha": .8,

              "shape/rectzoom/line/style": 'SolidLine',
              "shape/rectzoom/line/color": "#bbbbbb",
              "shape/rectzoom/line/width": 2,
              # not used -- start
              "shape/rectzoom/sel_line/style": 'SolidLine',
              "shape/rectzoom/sel_line/color": "green",
              "shape/rectzoom/sel_line/width": 2,
              # not used -- end
              "shape/rectzoom/fill/color": "yellow",
              "shape/rectzoom/fill/style": "SolidPattern",
              "shape/rectzoom/fill/alpha": 0.1,
              # not used -- start
              "shape/rectzoom/symbol/marker": 'NoSymbol',
              "shape/rectzoom/symbol/size": 0,
              "shape/rectzoom/symbol/edgecolor": "black",
              "shape/rectzoom/symbol/facecolor": "yellow",
              "shape/rectzoom/symbol/alpha": 1.,
              "shape/rectzoom/sel_symbol/marker": 'Rect',
              "shape/rectzoom/sel_symbol/size": 5,
              "shape/rectzoom/sel_symbol/edgecolor": "black",
              "shape/rectzoom/sel_symbol/facecolor": "yellow",
              "shape/rectzoom/sel_symbol/alpha": 1.,
              # not used -- end

              "shape/axes/border/line/style": 'SolidLine',
              "shape/axes/border/line/color": "magenta",
              "shape/axes/border/line/width": 1,
              "shape/axes/border/sel_line/style": 'SolidLine',
              "shape/axes/border/sel_line/color": "magenta",
              "shape/axes/border/sel_line/width": 2,
              "shape/axes/border/fill/style": "NoBrush",
              "shape/axes/border/fill/color": "magenta",
              "shape/axes/border/fill/alpha": 0.0,
              "shape/axes/border/sel_fill/style": "SolidPattern",
              "shape/axes/border/sel_fill/color": "magenta",
              "shape/axes/border/sel_fill/alpha": 0.3,
              "shape/axes/border/symbol/marker": 'NoSymbol',
              "shape/axes/border/symbol/size": 0,
              "shape/axes/border/symbol/edgecolor": "black",
              "shape/axes/border/symbol/facecolor": "yellow",
              "shape/axes/border/symbol/alpha": 1.,
              "shape/axes/border/sel_symbol/marker": 'NoSymbol',
              "shape/axes/border/sel_symbol/size": 5,
              "shape/axes/border/sel_symbol/edgecolor": "black",
              "shape/axes/border/sel_symbol/facecolor": "yellow",
              "shape/axes/border/sel_symbol/alpha": 1.,
              "shape/axes/arrow_size": 8,
              "shape/axes/arrow_angle": 30,
              "shape/axes/xarrow_pen/style": 'SolidLine',
              "shape/axes/xarrow_pen/color": "red",
              "shape/axes/xarrow_pen/width": 1,
              "shape/axes/xarrow_brush/color": "red",
              "shape/axes/xarrow_brush/alpha": 0.2,
              "shape/axes/yarrow_pen/style": 'SolidLine',
              "shape/axes/yarrow_pen/color": "green",
              "shape/axes/yarrow_pen/width": 1,
              "shape/axes/yarrow_brush/color": "green",
              "shape/axes/yarrow_brush/alpha": 0.2,

              "shape/image_stats/line/style": 'DashLine',
              "shape/image_stats/line/color": "#ff88dc",
              "shape/image_stats/line/width": 1,
              "shape/image_stats/fill/style": "SolidPattern",
              "shape/image_stats/fill/color": "white",
              "shape/image_stats/fill/alpha": 0.1,              
              "shape/image_stats/symbol/marker": 'Rect',
              "shape/image_stats/symbol/size": 3,
              "shape/image_stats/symbol/edgecolor": "#ff55dc",
              "shape/image_stats/symbol/facecolor": "#ff88dc",
              "shape/image_stats/symbol/alpha": .6,
              "shape/image_stats/sel_line/style": 'DashLine',
              "shape/image_stats/sel_line/color": "#ff00dc",
              "shape/image_stats/sel_line/width": 1,
              "shape/image_stats/sel_fill/style": "SolidPattern",
              "shape/image_stats/sel_fill/color": "white",
              "shape/image_stats/sel_fill/alpha": 0.1,              
              "shape/image_stats/sel_symbol/marker": 'Rect',
              "shape/image_stats/sel_symbol/size": 5,
              "shape/image_stats/sel_symbol/edgecolor": "#ff00dc",
              "shape/image_stats/sel_symbol/facecolor": "#ff88dc",
              "shape/image_stats/sel_symbol/alpha": .7,

              "shape/cross_section/line/style": 'DotLine',
              "shape/cross_section/line/color": "#ff5555",
              "shape/cross_section/line/width": 1,
              "shape/cross_section/fill/style": "SolidPattern",
              "shape/cross_section/fill/color": "white",
              "shape/cross_section/fill/alpha": 0.1,              
              "shape/cross_section/symbol/marker": 'Cross',
              "shape/cross_section/symbol/size": 100,
              "shape/cross_section/symbol/edgecolor": "cyan",
              "shape/cross_section/symbol/facecolor": "cyan",
              "shape/cross_section/symbol/alpha": .6,
              "shape/cross_section/sel_line/style": 'DotLine',
              "shape/cross_section/sel_line/color": "#ff0000",
              "shape/cross_section/sel_line/width": 1,
              "shape/cross_section/sel_fill/style": "SolidPattern",
              "shape/cross_section/sel_fill/color": "white",
              "shape/cross_section/sel_fill/alpha": 0.1,              
              "shape/cross_section/sel_symbol/marker": 'Cross',
              "shape/cross_section/sel_symbol/size": 10000,
              "shape/cross_section/sel_symbol/edgecolor": "cyan",
              "shape/cross_section/sel_symbol/facecolor": "cyan",
              "shape/cross_section/sel_symbol/alpha": .7,

              "shape/average_cross_section/line/style": 'DotLine',
              "shape/average_cross_section/line/color": "#ff5555",
              "shape/average_cross_section/line/width": 1,
              "shape/average_cross_section/fill/style": "SolidPattern",
              "shape/average_cross_section/fill/color": "white",
              "shape/average_cross_section/fill/alpha": 0.1,              
              "shape/average_cross_section/symbol/marker": 'Diamond',
              "shape/average_cross_section/symbol/size": 7,
              "shape/average_cross_section/symbol/edgecolor": "#ff5555",
              "shape/average_cross_section/symbol/facecolor": "#ff5555",
              "shape/average_cross_section/symbol/alpha": .6,
              "shape/average_cross_section/sel_line/style": 'DotLine',
              "shape/average_cross_section/sel_line/color": "#ff0000",
              "shape/average_cross_section/sel_line/width": 1,
              "shape/average_cross_section/sel_fill/style": "SolidPattern",
              "shape/average_cross_section/sel_fill/color": "white",
              "shape/average_cross_section/sel_fill/alpha": 0.1,              
              "shape/average_cross_section/sel_symbol/marker": 'Diamond',
              "shape/average_cross_section/sel_symbol/size": 9,
              "shape/average_cross_section/sel_symbol/edgecolor": "#aa0000",
              "shape/average_cross_section/sel_symbol/facecolor": "#ff0000",
              "shape/average_cross_section/sel_symbol/alpha": .7,

              "shape/mask/line/style": 'DotLine',
              "shape/mask/line/color": "#5555ff",
              "shape/mask/line/width": 1,
              "shape/mask/fill/style": "SolidPattern",
              "shape/mask/fill/color": "white",
              "shape/mask/fill/alpha": 0.1,              
              "shape/mask/symbol/marker": 'Rect',
              "shape/mask/symbol/size": 7,
              "shape/mask/symbol/edgecolor": "#5555ff",
              "shape/mask/symbol/facecolor": "#5555ff",
              "shape/mask/symbol/alpha": .6,
              "shape/mask/sel_line/style": 'DotLine',
              "shape/mask/sel_line/color": "#0000ff",
              "shape/mask/sel_line/width": 1,
              "shape/mask/sel_fill/style": "SolidPattern",
              "shape/mask/sel_fill/color": "white",
              "shape/mask/sel_fill/alpha": 0.1,              
              "shape/mask/sel_symbol/marker": 'Rect',
              "shape/mask/sel_symbol/size": 9,
              "shape/mask/sel_symbol/edgecolor": "#0000aa",
              "shape/mask/sel_symbol/facecolor": "#0000ff",
              "shape/mask/sel_symbol/alpha": .7,

              "shape/point/line/style": 'SolidLine',
              "shape/point/line/color": "#ffff00",
              "shape/point/line/width": 1,
              "shape/point/sel_line/style": 'SolidLine',
              "shape/point/sel_line/color": "#00ff00",
              "shape/point/sel_line/width": 1,
              "shape/point/fill/style": "NoBrush",
              "shape/point/sel_fill/style": "NoBrush",
              "shape/point/symbol/marker": 'XCross',
              "shape/point/symbol/size": 9,
              "shape/point/symbol/edgecolor": "#ffff00",
              "shape/point/symbol/facecolor": "#ffff00",
              "shape/point/symbol/alpha": 1.,
              "shape/point/sel_symbol/marker": 'XCross',
              "shape/point/sel_symbol/size": 12,
              "shape/point/sel_symbol/edgecolor": "#00aa00",
              "shape/point/sel_symbol/facecolor": "#00ff00",
              "shape/point/sel_symbol/alpha": .7,

              "shape/segment/line/style": 'SolidLine',
              "shape/segment/line/color": "#ffff00",
              "shape/segment/line/width": 1,
              "shape/segment/sel_line/style": 'SolidLine',
              "shape/segment/sel_line/color": "#00ff00",
              "shape/segment/sel_line/width": 1,
              "shape/segment/fill/style": "NoBrush",
              "shape/segment/sel_fill/style": "NoBrush",
              "shape/segment/symbol/marker": 'XCross',
              "shape/segment/symbol/size": 9,
              "shape/segment/symbol/edgecolor": "#ffff00",
              "shape/segment/symbol/facecolor": "#ffff00",
              "shape/segment/symbol/alpha": 1.,
              "shape/segment/sel_symbol/marker": 'XCross',
              "shape/segment/sel_symbol/size": 12,
              "shape/segment/sel_symbol/edgecolor": "#00aa00",
              "shape/segment/sel_symbol/facecolor": "#00ff00",
              "shape/segment/sel_symbol/alpha": .7,

              "shape/label/symbol/marker": "NoSymbol",
              "shape/label/symbol/size": 0,
              "shape/label/symbol/edgecolor": "white",
              "shape/label/symbol/facecolor": "white",
              "shape/label/border/style": "SolidLine",
              "shape/label/border/color": "#cbcbcb",
              "shape/label/border/width": 0,
              "shape/label/font/size": 8,
              "shape/label/font/family": "default",
              "shape/label/font/bold": False,
              "shape/label/font/italic": False,
              "shape/label/color": "white",
              "shape/label/bgcolor": "black",
              "shape/label/bgalpha": 0.25,
              "shape/label/abspos": False,
              "shape/label/move_anchor": True,
              
              "label/symbol/marker": "NoSymbol",
              "label/symbol/size": 0,
              "label/symbol/edgecolor": "white",
              "label/symbol/facecolor": "white",
              "label/border/style": "SolidLine",
              "label/border/color": "#cbcbcb",
              "label/border/width": 1,
              "label/font/size": 9,
              "label/font/family": "default",
              "label/font/bold": False,
              "label/font/italic": False,
              "label/color": "black",
              "label/bgcolor": "white",
              "label/bgalpha": 0.8,
              "label/anchor": "TL",
              "label/xc": 0,
              "label/yc": 0,
              "label/abspos": False,
              "label/absg": "TR",
              "label/xg": 0.0,
              "label/yg": 0.0,

              # info_label: used in builder.make.computation for example
              "info_label/symbol/marker": "NoSymbol",
              "info_label/symbol/size": 0,
              "info_label/symbol/edgecolor": "white",
              "info_label/symbol/facecolor": "white",
              "info_label/border/style": "SolidLine",
              "info_label/border/color": "#cbcbcb",
              "info_label/border/width": 1,
              "info_label/font/size": 9,
              "info_label/font/family": "default",
              "info_label/font/bold": False,
              "info_label/font/italic": False,
              "info_label/color": "black",
              "info_label/bgcolor": "white",
              "info_label/bgalpha": 0.8,
              "info_label/anchor": "TL",
              "info_label/xc": 0,
              "info_label/yc": 0,
              "info_label/abspos": True,
              "info_label/absg": "TR",
              "info_label/xg": 0.0,
              "info_label/yg": 0.0,

              "legend/border/style": "SolidLine",
              "legend/border/color": "#cbcbcb",
              "legend/border/width": 1,
              "legend/font/size": 8,
              "legend/font/family": "default",
              "legend/font/bold": False,
              "legend/font/italic": False,
              "legend/color": "black",
              "legend/bgcolor": "white",
              "legend/bgalpha": 0.8,
              "legend/anchor": "TR",
              "legend/xc": 0,
              "legend/yc": 0,
              "legend/abspos": True,
              "legend/absg": "TR",
              "legend/xg": 0.0,
              "legend/yg": 0.0,
              },
              
            'histogram':
             {
              "antialiasing": False,
              
              "title/font/size": 11,
              "title/font/bold": False,
              "label/font/size": 9,
              "label/font/bold": False,

              "curve/line/style": 'NoPen',
              "curve/line/color": "green",
              "curve/line/width": 1,
              "curve/symbol/marker": "NoSymbol",
              "curve/symbol/size": 0,
              "curve/symbol/edgecolor": "white",
              "curve/symbol/facecolor": "black",
              "curve/symbol/alpha": 1.,
              "curve/shade": .85,
              "curve/curvestyle": "Steps",
              "curve/label": "",

              "range/line/style": 'SolidLine',
              "range/line/color": "#ff9393",
              "range/line/width": 1,
              "range/sel_line/style": 'SolidLine',
              "range/sel_line/color": "red",
              "range/sel_line/width": 2,
              "range/fill": "red",
              "range/shade": 0.15,
              "range/symbol/marker": "Ellipse",
              "range/symbol/size": 7,
              "range/symbol/edgecolor": "white",
              "range/symbol/facecolor": "#ff9393",
              "range/symbol/alpha": 1.,
              "range/sel_symbol/marker": "Ellipse",
              "range/sel_symbol/size": 9,
              "range/sel_symbol/edgecolor": "white",
              "range/sel_symbol/facecolor": "red",
              "range/sel_symbol/alpha": .9,
              "range/multi/color": "#806060",

              # Default parameters for plot axes
              "axis/title": "",
              "axis/color": "black",
              "axis/title_font/size": 7,
              "axis/title_font/family": "default",
              "axis/title_font/bold": False,
              "axis/title_font/italic": False,
              "axis/ticks_font/size": 7,
              "axis/ticks_font/family": "default",
              "axis/ticks_font/bold": False,
              "axis/ticks_font/italic": False,

              "grid/background": "#FFFFFF",
              "grid/maj_xenabled": True,
              "grid/maj_yenabled": True,
              "grid/maj_line/color": "darkgray",
              "grid/maj_line/width": 1,
              "grid/maj_line/style": 'DotLine',
              "grid/min_xenabled": True,
              "grid/min_yenabled": False,
              "grid/min_line/color": "#eaeaea",
              "grid/min_line/width": 1,
              "grid/min_line/style": 'DotLine',

              "marker/curve/symbol/marker": 'Ellipse',
              "marker/curve/symbol/edgecolor": "black",
              "marker/curve/symbol/facecolor": "blue",
              "marker/curve/symbol/alpha": .8,
              "marker/curve/symbol/size": 8,
              "marker/curve/text/font/size": 8,
              "marker/curve/text/font/family": "default",
              "marker/curve/text/font/bold": False,
              "marker/curve/text/font/italic": False,
              "marker/curve/text/textcolor": "darkBlue",
              "marker/curve/text/background_color": "blue",
              "marker/curve/text/background_alpha": 0.2,
              "marker/curve/pen/style": "SolidLine",
              "marker/curve/pen/color": "black",
              "marker/curve/pen/width": 0,
              "marker/curve/markerstyle": "NoLine",

              "marker/cross/symbol/marker": 'Cross',
              "marker/cross/symbol/edgecolor": "black",
              "marker/cross/symbol/facecolor": "red",
              "marker/cross/symbol/alpha": 1.,
              "marker/cross/symbol/size": 8,
              "marker/cross/text/font/family": "default",
              "marker/cross/text/font/size": 8,
              "marker/cross/text/font/bold": False,
              "marker/cross/text/font/italic": False,
              "marker/cross/text/textcolor": "darkBlue",
              "marker/cross/text/background_color": "blue",
              "marker/cross/text/background_alpha": 0.2,
              "marker/cross/pen/style": "SolidLine",
              "marker/cross/pen/color": "black",
              "marker/cross/pen/width": 1,
              "marker/cross/markerstyle": "Cross",
              },
              
            'cross_section':
             {
              "antialiasing": False,
              
              "title/font/size": 11,
              "title/font/bold": False,
              "label/font/size": 9,
              "label/font/bold": False,

              "curve/line/style": 'SolidLine',
              "curve/line/color": "blue",
              "curve/line/width": 1,
              "curve/symbol/marker": "NoSymbol",
              "curve/symbol/size": 0,
              "curve/symbol/edgecolor": "white",
              "curve/symbol/facecolor": "black",
              "curve/symbol/alpha": 1.,
              "curve/shade": 0.,
              "curve/label": "",

              "range/line/style": 'SolidLine',
              "range/line/color": "#ff9393",
              "range/line/width": 1,
              "range/sel_line/style": 'SolidLine',
              "range/sel_line/color": "red",
              "range/sel_line/width": 2,
              "range/fill": "red",
              "range/shade": 0.15,
              "range/symbol/marker": "NoSymbol",
              "range/symbol/size": 5,
              "range/symbol/edgecolor": "black",
              "range/symbol/facecolor": "yellow",
              "range/symbol/alpha": 1.,
              "range/sel_symbol/marker": "Ellipse",
              "range/sel_symbol/size": 9,
              "range/sel_symbol/edgecolor": "white",
              "range/sel_symbol/facecolor": "red",
              "range/sel_symbol/alpha": .9,
              "range/multi/color": "#806060",

              # Default parameters for plot axes
              "axis/title": "",
              "axis/color": "black",
              "axis/title_font/size": 7,
              "axis/title_font/family": "default",
              "axis/title_font/bold": False,
              "axis/title_font/italic": False,
              "axis/ticks_font/size": 7,
              "axis/ticks_font/family": "default",
              "axis/ticks_font/bold": False,
              "axis/ticks_font/italic": False,

              "grid/background": "#FFFFFF",
              "grid/maj_xenabled": True,
              "grid/maj_yenabled": True,
              "grid/maj_line/color": "darkgray",
              "grid/maj_line/width": 1,
              "grid/maj_line/style": 'DotLine',
              "grid/min_xenabled": False,
              "grid/min_yenabled": False,
              "grid/min_line/color": "#eaeaea",
              "grid/min_line/width": 1,
              "grid/min_line/style": 'DotLine',

              "marker/curve/symbol/marker": 'Ellipse',
              "marker/curve/symbol/edgecolor": "black",
              "marker/curve/symbol/facecolor": "blue",
              "marker/curve/symbol/alpha": .8,
              "marker/curve/symbol/size": 8,
              "marker/curve/text/font/size": 8,
              "marker/curve/text/font/family": "default",
              "marker/curve/text/font/bold": False,
              "marker/curve/text/font/italic": False,
              "marker/curve/text/textcolor": "darkBlue",
              "marker/curve/text/background_color": "blue",
              "marker/curve/text/background_alpha": 0.2,
              "marker/curve/pen/style": "SolidLine",
              "marker/curve/pen/color": "black",
              "marker/curve/pen/width": 0,
              "marker/curve/markerstyle": "NoLine",

              "marker/cross/symbol/marker": 'Cross',
              "marker/cross/symbol/edgecolor": "black",
              "marker/cross/symbol/facecolor": "red",
              "marker/cross/symbol/alpha": 1.,
              "marker/cross/symbol/size": 8,
              "marker/cross/text/font/family": "default",
              "marker/cross/text/font/size": 8,
              "marker/cross/text/font/bold": False,
              "marker/cross/text/font/italic": False,
              "marker/cross/text/textcolor": "darkBlue",
              "marker/cross/text/background_color": "blue",
              "marker/cross/text/background_alpha": 0.2,
              "marker/cross/pen/style": "SolidLine",
              "marker/cross/pen/color": "black",
              "marker/cross/pen/width": 1,
              "marker/cross/markerstyle": "Cross",
              },
              
            }

from guidata.config import CONF
CONF.update_defaults(DEFAULTS)