Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix plot missing time info #16 #17

Merged
merged 2 commits into from
Mar 24, 2022
Merged

Fix plot missing time info #16 #17

merged 2 commits into from
Mar 24, 2022

Conversation

gowachin
Copy link
Owner

Plot function was sometimes messing with time info.
This is caused by the times_inf() functions which add desat times
and remove duplicated ones. Then if desat time is the same as the
depth time, only one is shown.
Also options where either time_print or deco_print. Now both can be
added to the plot. If both are present, the text is bold but this is a
minor issue.

Plot check still require human check with the dev/graphic_vignette,
which is difficult and explain why all the graphic script is not tested.

Resolves: #16

Plot function was sometimes messing with time info.
This is caused by the times_inf() functions which add desat times
and remove duplicated ones. Then if desat time is the same as the
depth time, only one is shown.
Also options where either time_print or deco_print. Now both can be
added to the plot. If both are present, the text is bold but this is a
minor issue.

Plot check still require human check with the dev/graphic_vignette,
which is difficult and explain why all the graphic script is not tested.

Resolves: #16

gowachin
[email protected]
24/03/2022
Issue was detected by a test for rm_secu().
In case of secu removal with only the secu deco stop, time value is now
NA and I used to convert all NA from double to logical with
type.convert(). It seems that this function now require a new argument.

gowachin
[email protected]
24/03/2022
@gowachin gowachin merged commit 106c955 into master Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plot is sometimes missing information.
1 participant