Skip to content
Snippets Groups Projects
Commit a0e04c7a authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Fix missing parenthesis

parent 2eace924
No related branches found
No related tags found
1 merge request!2Fix error in datatime for plot
Pipeline #34099 failed
...@@ -286,7 +286,7 @@ def make_plot(data_array, time_axis, frequency_axis, station_name, plot_full_pat ...@@ -286,7 +286,7 @@ def make_plot(data_array, time_axis, frequency_axis, station_name, plot_full_pat
ax.set_xlim( ax.set_xlim(
[datetime(year=datetime_axis[0].year, month=datetime_axis[0].month, day=datetime_axis[0].day, [datetime(year=datetime_axis[0].year, month=datetime_axis[0].month, day=datetime_axis[0].day,
hour=datetime_axis[0].hour), hour=datetime_axis[0].hour),
datetime(year=datetime_axis[-1].year, month=datetime_axis[-1].month, day=datetime_axis[-1].day + (datetime_axis[-1].hour + 1) // 24), datetime(year=datetime_axis[-1].year, month=datetime_axis[-1].month, day=(datetime_axis[-1].day + (datetime_axis[-1].hour + 1) // 24),
hour=(datetime_axis[-1].hour + 1) % 24 )] hour=(datetime_axis[-1].hour + 1) % 24 )]
) )
ax.set_xlabel('Time (UT)') ax.set_xlabel('Time (UT)')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment