Skip to content

Commit 8d642e7

Browse files
committed
Merge branch 'main' of https://github.com/hapi-server/plot-python into main
2 parents 24f83b0 + f95ce86 commit 8d642e7

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![Build Status](https://travis-ci.org/hapi-server/plot-python.svg?branch=main)](https://travis-ci.org/hapi-server/plot-python)
2-
31
**HAPI plotting client for Python 3.6+**
42

53
# Installation

hapiplot/hapiplot.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,12 @@ def hapiplot(*args, **kwargs):
676676
if nodata == True:
677677
tsopts['nodata'] = True
678678

679+
if remove_mean:
680+
with rc_context(rc=opts['rcParams']):
681+
fig = timeseries(Time, y-y_mean, **tsopts)
682+
else:
683+
with rc_context(rc=opts['rcParams']):
684+
fig = timeseries(Time, y, **tsopts)
679685
if remove_mean:
680686
with rc_context(rc=opts['rcParams']):
681687
fig = timeseries(Time, y-y_mean, **tsopts)

0 commit comments

Comments
 (0)