Skip to content

Commit

Permalink
Merge pull request #96 from raphaelrpl/b-0.7
Browse files Browse the repository at this point in the history
fix timeseries matplotplot grid
  • Loading branch information
marujore authored Nov 16, 2023
2 parents a2fdc5f + 3aea2b3 commit 9d49228
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 82 deletions.
68 changes: 0 additions & 68 deletions .drone.yml

This file was deleted.

21 changes: 12 additions & 9 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of Python Client Library for WTSS.
# Copyright (C) 2022 INPE.
# Copyright (C) 2023 INPE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -18,16 +18,19 @@

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

sphinx:
configuration: docs/sphinx/conf.py
configuration: docs/sphinx/conf.py

formats: []

python:
version: 3.7

install:
- method: pip
path: .
extra_requirements:
- docs
install:
- method: pip
path: .
extra_requirements:
- docs
8 changes: 7 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
..
This file is part of Python Client Library for WTSS.
Copyright (C) 2022 INPE.
Copyright (C) 2023 INPE.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -20,6 +20,12 @@ Changes
=======


Version 0.7.1 (2023-11-16)
--------------------------

- Fix matplotlib deprecation for plot grid time series (`#95 <https://github.com/brazil-data-cube/wtss.py/issues/95>`_)


Version 0.7.0 (2022-09-28)
--------------------------

Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of Python Client Library for WTSS.
# Copyright (C) 2022 INPE.
# Copyright (C) 2023 INPE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -103,9 +103,13 @@
'Environment :: Web Environment',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GPL v3 License',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: GIS',
],
Expand Down
2 changes: 1 addition & 1 deletion wtss/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def plot(self, **options):

plt.legend()

plt.grid(b=True, color='gray', linestyle='--', linewidth=0.5)
plt.grid(visible=True, color='gray', linestyle='--', linewidth=0.5)

fig.autofmt_xdate()

Expand Down
2 changes: 1 addition & 1 deletion wtss/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

"""Version information for Python Client Library for WTSS."""

__version__ = '0.7.0'
__version__ = '0.7.1'

0 comments on commit 9d49228

Please sign in to comment.