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
bf78b7a0
Commit
bf78b7a0
authored
3 years ago
by
Peter Lünenschloß
Browse files
Options
Downloads
Plain Diff
Merge branch 'plotInHistory' into cookBux
parents
66da1516
27e87a17
No related branches found
No related tags found
7 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
Pipeline
#47193
passed with warnings with stages
in 4 minutes and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
saqc/funcs/tools.py
+0
-2
0 additions, 2 deletions
saqc/funcs/tools.py
saqc/lib/plotting.py
+6
-1
6 additions, 1 deletion
saqc/lib/plotting.py
with
6 additions
and
3 deletions
saqc/funcs/tools.py
+
0
−
2
View file @
bf78b7a0
...
...
@@ -349,8 +349,6 @@ def plot(
if
to_mask
<
np
.
inf
:
data
=
data
.
copy
()
data
.
loc
[
flags
[
field
]
>=
to_mask
,
field
]
=
np
.
nan
if
level
<=
to_mask
:
history
=
None
if
store_kwargs
is
None
:
store_kwargs
=
{}
...
...
This diff is collapsed.
Click to expand it.
saqc/lib/plotting.py
+
6
−
1
View file @
bf78b7a0
...
...
@@ -141,7 +141,7 @@ def makeFig(
d
=
d
[
~
na_mask
]
# insert nans between values mutually spaced > max_gap
if
max_gap
:
if
max_gap
and
not
d
.
empty
:
d
=
_insertBlockingNaNs
(
d
,
max_gap
)
# figure composition
...
...
@@ -229,6 +229,11 @@ def _plotVarWithFlags(
if
~
(
flags_i
>=
level
).
any
():
continue
# Also skip plot, if all flagged values are np.nans (to catch flag missing and masked results mainly)
temp_i
=
datser
.
index
.
join
(
flags_i
.
index
,
how
=
"
inner
"
)
if
datser
[
temp_i
][
flags_i
[
temp_i
].
notna
()].
isna
().
all
():
continue
scatter_kwargs
.
update
(
{
"
color
"
:
next
(
color_cycle
),
"
marker
"
:
next
(
shape_cycle
)}
)
...
...
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