diff --git a/glidertest/tools.py b/glidertest/tools.py index eb3172b..79a8f47 100644 --- a/glidertest/tools.py +++ b/glidertest/tools.py @@ -1225,12 +1225,10 @@ def plot_combined_velocity_profiles(ds_out_dives, ds_out_climbs): w_upper_climbs = ds_out_climbs.w_upper.values * conv_factor fig, ax = plt.subplots(1, 1, figsize=(4.8, 4.8)) - - + ax.xaxis.label.set_size(14) ax.yaxis.label.set_size(14) ax.tick_params(axis='both', which='major', labelsize=14) - ax.legend(fontsize=14) # Plot dives ax.fill_betweenx(zgrid_dives, w_lower_dives, w_upper_dives, color='black', alpha=0.3) @@ -1245,8 +1243,8 @@ def plot_combined_velocity_profiles(ds_out_dives, ds_out_climbs): ax.set_xlabel('Vertical Velocity w (cm s$^{-1}$)') ax.set_ylabel('Depth (m)') ax.set_ylim(top=0, bottom=1000) # Set y-limit maximum to zero - ax.legend() -# ax.set_title('Combined Vertical Velocity Profiles') + ax.legend(fontsize=14) + #ax.set_title('Combined Vertical Velocity Profiles') ax.set_xlim(-1, 1.5) ax.set_xticks([-1, -0.5, 0, 0.5, 1.0, 1.5]) diff --git a/notebooks/demo.ipynb b/notebooks/demo.ipynb index 5a24020..e4e46d0 100644 --- a/notebooks/demo.ipynb +++ b/notebooks/demo.ipynb @@ -147,7 +147,7 @@ "id": "d22b9ca5", "metadata": {}, "source": [ - "# Basic statistics of dataset" + "### Basic statistics of dataset" ] }, { @@ -206,7 +206,7 @@ "id": "34dd4862-c730-49f8-973b-f533407c9e79", "metadata": {}, "source": [ - "## Check if the profile number was assigned well \n", + "### Check if the profile number was assigned well \n", "\n", "We want to check if the profile number is consistently increasing or not.\n", "When using pyglider to assign the profile, there can be some issues if the correct pressure and time threshold is not chosen.\n", @@ -457,7 +457,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -471,7 +471,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.7" + "version": "3.11.8" } }, "nbformat": 4,