Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
35
Issue boards
Milestones
Wiki
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Commits
27e87a17
Commit
27e87a17
authored
3 years ago
by
Peter Lünenschloß
Browse files
Options
Downloads
Patches
Plain Diff
max-gap error for empty series catched
parent
80836cd4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
8 merge requests
!685
Release 2.4
,
!684
Release 2.4
,
!567
Release 2.2.1
,
!566
Release 2.2
,
!501
Release 2.1
,
!372
fix doctest snippets
,
!369
Current documentation
,
!317
History sensitive plots
Pipeline
#47180
passed with stage
in 1 minute and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
saqc/lib/plotting.py
+3
-2
3 additions, 2 deletions
saqc/lib/plotting.py
with
3 additions
and
2 deletions
saqc/lib/plotting.py
+
3
−
2
View file @
27e87a17
...
@@ -141,7 +141,7 @@ def makeFig(
...
@@ -141,7 +141,7 @@ def makeFig(
d
=
d
[
~
na_mask
]
d
=
d
[
~
na_mask
]
# insert nans between values mutually spaced > max_gap
# insert nans between values mutually spaced > max_gap
if
max_gap
:
if
max_gap
and
not
d
.
empty
:
d
=
_insertBlockingNaNs
(
d
,
max_gap
)
d
=
_insertBlockingNaNs
(
d
,
max_gap
)
# figure composition
# figure composition
...
@@ -230,7 +230,8 @@ def _plotVarWithFlags(
...
@@ -230,7 +230,8 @@ def _plotVarWithFlags(
continue
continue
# Also skip plot, if all flagged values are np.nans (to catch flag missing and masked results mainly)
# Also skip plot, if all flagged values are np.nans (to catch flag missing and masked results mainly)
if
datser
[
flags_i
.
notna
()].
empty
:
temp_i
=
datser
.
index
.
join
(
flags_i
.
index
,
how
=
"
inner
"
)
if
datser
[
temp_i
][
flags_i
[
temp_i
].
notna
()].
isna
().
all
():
continue
continue
scatter_kwargs
.
update
(
scatter_kwargs
.
update
(
...
...
This diff is collapsed.
Click to expand it.
David Schäfer
@schaefed
mentioned in commit
63b55c6d
·
2 years ago
mentioned in commit
63b55c6d
mentioned in commit 63b55c6d7dadb0e612b23a897f292d5ffc14cb52
Toggle commit list
David Schäfer
@schaefed
mentioned in commit
684dc8a0
·
2 years ago
mentioned in commit
684dc8a0
mentioned in commit 684dc8a0515470d644fc85fee95d07661c8dd572
Toggle commit list
David Schäfer
@schaefed
mentioned in commit
8f7a90e4
·
1 year ago
mentioned in commit
8f7a90e4
mentioned in commit 8f7a90e4aed61c79a9dc8d67541a46beba0907e8
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment