fix for improper display of % of peak for instruction mix panel
Signed-off-by: Nicholas Curtis <nicurtis@amd.com>
Cette révision appartient à :
révisé par
Cole Ramos
Parent
cdeef4ebb3
révision
c10cc0ede2
@@ -227,10 +227,13 @@ def build_bar_chart(display_df, table_config, barchart_elements, norm_filt):
|
||||
).update_xaxes(range=[0, 1638])
|
||||
) # append second GB/s chart
|
||||
else:
|
||||
key = 'Avg'
|
||||
if table_config['id'] in [1101]:
|
||||
key = 'Pct of Peak'
|
||||
d_figs.append(
|
||||
px.bar(
|
||||
display_df,
|
||||
x="Avg",
|
||||
x=key,
|
||||
y="Metric",
|
||||
color="Avg",
|
||||
range_color=[0, 100],
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur