Skip to content

Commit d0307cb

Browse files
RobPasMuelwasser
authored andcommitted
feat: increasing number size
1 parent 3b1450e commit d0307cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_ext/translation_graph.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def run(self):
7171
z=values,
7272
text=text, # Add text to the heatmap
7373
texttemplate="%{text}", # Format the text to display directly
74-
textfont={"size": 10}, # Adjust font size for better readability
74+
textfont={"size": 15}, # Adjust font size for better readability
7575
xgap=5,
7676
ygap=5,
7777
customdata=np.array(hoverdata),
@@ -87,13 +87,13 @@ def run(self):
8787
"ticktext": ["0-25%", "25-75%", "75-<100%", "100%"], # Labels for categories
8888
},
8989
colorscale=[
90-
[0.0, "rgb(254, 255, 231)"], # 0-25%
90+
[0.0, "rgb(254, 255, 231)"], # 0-25%
9191
[0.25, "rgb(254, 255, 231)"],
9292
[0.25, "rgb(187, 130, 176)"], # 25-75%
9393
[0.75, "rgb(187, 130, 176)"],
9494
[0.75, "rgb(129, 192, 170)"], # 75-<100%
9595
[0.99, "rgb(129, 192, 170)"],
96-
[1.0, "rgb(78, 112, 100)"], # 100%
96+
[1.0, "rgb(78, 112, 100)"], # 100%
9797
],
9898
)
9999
# Create figure

0 commit comments

Comments
 (0)