Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plot Serializer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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 Tools
Plot Serializer
Commits
3cc8c3ea
Commit
3cc8c3ea
authored
3 months ago
by
Julius
Browse files
Options
Downloads
Patches
Plain Diff
another try to bypass mypy
parent
8aa3cb42
No related branches found
No related tags found
1 merge request
!36
Resolve "Automatic Property Testing"
Pipeline
#1604431
failed
3 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests_automatic/test_surface3d_automatic.py
+2
-2
2 additions, 2 deletions
tests_automatic/test_surface3d_automatic.py
with
2 additions
and
2 deletions
tests_automatic/test_surface3d_automatic.py
+
2
−
2
View file @
3cc8c3ea
...
...
@@ -20,7 +20,7 @@ def matrix_triplet_strategy(draw, min_dim=1, max_dim=10, min_value=0, max_value=
min_size
=
rows
,
max_size
=
rows
,
),
arrays
(
dtype
=
np
.
int64
,
shape
=
(
rows
,
cols
)),
# type: ignore
arrays
(
dtype
=
np
.
int64
,
shape
=
(
rows
,
cols
)),
)
matrix1
=
draw
(
matrix_strategy
)
...
...
@@ -38,7 +38,7 @@ def test_surface_properties(
x
,
y
,
z
=
matrix_triplet
serializer
=
MatplotlibSerializer
()
_
,
serializer_ax
=
serializer
.
subplots
(
subplot_kw
=
{
"
projection
"
:
"
3d
"
})
_fig
,
ax
=
plt
.
subplots
(
subplot_kw
=
{
"
projection
"
:
"
3d
"
})
_fig
,
ax
=
plt
.
subplots
(
subplot_kw
=
{
"
projection
"
:
"
3d
"
})
# type: ignore
try
:
ax
.
plot_surface
(
x
,
y
,
z
)
except
Exception
as
_e
:
...
...
This diff is collapsed.
Click to expand it.
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