@@ -48,12 +48,12 @@ def __init__(self):
4848 self .window .protocol ("WM_DELETE_WINDOW" , self ._exit )
4949 self .controlFrame = tk .Frame ()
5050 self .mapControl = MapControl (self .controlFrame , width = 640 , height = 360 )
51- self .mapControl .back_color = Color .FromRGB (217 , 217 , 217 )
51+ self .mapControl .back_color = Color .from_rgb (217 , 217 , 217 )
5252 self .mapControl .pack (fill = tk .BOTH , expand = tk .YES , side = tk .TOP )
5353 self .globeControl = GlobeControl (
5454 self .controlFrame , width = 640 , height = 360
5555 )
56- self .globeControl .back_color = Color .FromRGB (217 , 217 , 217 )
56+ self .globeControl .back_color = Color .from_rgb (217 , 217 , 217 )
5757 self .globeControl .pack (fill = tk .BOTH , expand = tk .YES , side = tk .TOP )
5858 self .controlFrame .pack (fill = tk .BOTH , expand = tk .YES , side = tk .LEFT )
5959 self .buttonFrame = tk .Frame ()
@@ -659,14 +659,14 @@ def _configure_display_intervals(self):
659659 gfxInterval = customAtt .Intervals .Add (
660660 "1 Jul 2023 11:30:00.000" , "1 Jul 2023 12:00:00.000"
661661 )
662- gfxInterval .GfxAttributes .Color = Colors .FromRGB (156 , 49 , 24 )
662+ gfxInterval .GfxAttributes .Color = Colors .from_rgb (156 , 49 , 24 )
663663 gfxInterval .GfxAttributes .IsVisible = True
664664 gfxInterval .GfxAttributes .Inherit = True
665665
666666 gfxInterval = customAtt .Intervals .Add (
667667 "1 Jul 2023 23:30:00.000" , "1 Jul 2023 24:00:00.000"
668668 )
669- gfxInterval .GfxAttributes .Color = Colors .FromRGB (116 , 80 , 94 )
669+ gfxInterval .GfxAttributes .Color = Colors .from_rgb (116 , 80 , 94 )
670670 gfxInterval .GfxAttributes .IsVisible = True
671671 gfxInterval .GfxAttributes .Inherit = True
672672 self .root .rewind ()
0 commit comments