You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importnumpyasnpimportpandasaspdimportmatplotlib.pyplotasplt# Generate 1 million random datetimes using pandasstart_time='2020-01-01 00:00:00'datetime_range=pd.date_range(start=start_time, periods=1_000_000, freq='min')
# Generate 1 million random floatsrandom_floats=np.random.random(1_000_000)
# Sort the random floatssorted_random_floats=np.sort(random_floats)
# Create Polars DataFramedf=pd.DataFrame({
'datetime': datetime_range,
'sorted_random_floats': sorted_random_floats
})
# Plot the first 1000 sorted random float values against their datetime valuesplt.figure(figsize=(10, 6))
plt.plot(df['datetime'][:1000], df['sorted_random_floats'][:1000])
plt.xlabel('Datetime')
plt.ylabel('Sorted Random Floats')
plt.title('Sorted Random Float Values Over Time')
plt.xticks(rotation=45)
plt.tight_layout()
plt.show()
Issue Report Checklist
Checklist checked.
Problem Description
So no plots show up in version 6.0.0b2.
What steps reproduce the problem?
What is the expected output?
That i can see plots
Versions
Dependencies
The text was updated successfully, but these errors were encountered: