Das Plotly-Express-Histogramm wird nicht angezeigt

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Das Plotly-Express-Histogramm wird nicht angezeigt

by Guest » 12 Jan 2025, 10:51

Ich verwende den folgenden Code, um das Histogramm anzuzeigen, aber er scheint keine Abbildung anzuzeigen. Ich habe keine Ahnung, warum es nicht funktioniert.

Code: Select all

fig = px.histogram(
df,
x = 'age',
marginal = 'box',
nbins = 47,
title = 'Distribution of Age'
)
fig.update_layout(bargap = 0.1)
fig.show()

Top