Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 6, 2024
1 parent 294ef2a commit 40f6e40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions gliderpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
except ImportError:
__version__ = "unknown"

from .plotting import plot_transect
from .fetchers import GliderDataFetcher

from .plotting import plot_transect

__all__ = [
"GliderDataFetcher",
"plot_transect",
]
]
3 changes: 1 addition & 2 deletions gliderpy/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

from pandas_flavor import register_dataframe_method


@register_dataframe_method
def plot_transect(
df: pd.DataFrame,
Expand Down Expand Up @@ -54,5 +55,3 @@ def plot_transect(
cbar.ax.set_ylabel(var)
ax.set_ylabel("pressure")
return fig, ax


0 comments on commit 40f6e40

Please sign in to comment.