Skip to content

Commit

Permalink
updated color scheme for table
Browse files Browse the repository at this point in the history
  • Loading branch information
bpulluta committed Sep 9, 2024
1 parent 0d4df01 commit 3ba11f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reoptjl/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,8 @@ def create_custom_table_excel(df, custom_table, calculations, output):
worksheet = workbook.add_worksheet('Custom Table')

# Scenario header formatting with colors
scenario_colors = ['#0B5E90','#00A4E4' ,'#F7A11A', '#D9531E', '#FFB300', '#D1D5D8', '#FF5050']
scenario_colors = ['#0B5E90', '#00A4E4','#f46d43','#fdae61', '#66c2a5', '#d53e4f', '#3288bd']

scenario_formats = [workbook.add_format({'bold': True, 'bg_color': color, 'border': 1, 'align': 'center', 'font_color': 'white', 'font_size': 12}) for color in scenario_colors]

# Row alternating colors
Expand Down

0 comments on commit 3ba11f6

Please sign in to comment.