Skip to content

Commit

Permalink
updating precipi plot()
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelonGonzalez committed Mar 1, 2022
1 parent bdf01df commit 6c7b943
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 27 deletions.
3 changes: 2 additions & 1 deletion dinsar/parts.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,8 @@ def plot(self, estaciones='all', savefig=False, **kwargs):
own_kwargs = dict(legend=True, title='Estaciones pluviométricas')
kwargs = _update_kwargs(own_kwargs, kwargs)

estaciones = self.estaciones if estaciones.lower() == 'all' else estaciones
estaciones = self.estaciones if isinstance(estaciones, str) \
and estaciones.lower() == 'all' else estaciones

if isinstance(estaciones, str) and estaciones.lower() == 'all':
series = pd.DataFrame([self.take(i, values=values) for i
Expand Down
80 changes: 54 additions & 26 deletions examples/Working with model parts.ipynb

Large diffs are not rendered by default.

0 comments on commit 6c7b943

Please sign in to comment.