Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogstools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Max Bittens
ogstools
Commits
c313cea5
Commit
c313cea5
authored
1 year ago
by
Florian Zill
Browse files
Options
Downloads
Patches
Plain Diff
[meshplotlib] allow for more vertical plots
parent
60d37b5b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/examples/howto_meshplotlib/plot_aspect_ratios.py
+2
-2
2 additions, 2 deletions
docs/examples/howto_meshplotlib/plot_aspect_ratios.py
ogstools/meshplotlib/plot_setup_defaults.py
+1
-1
1 addition, 1 deletion
ogstools/meshplotlib/plot_setup_defaults.py
with
3 additions
and
3 deletions
docs/examples/howto_meshplotlib/plot_aspect_ratios.py
+
2
−
2
View file @
c313cea5
...
...
@@ -64,13 +64,13 @@ fig = plot(
# ratio.
# %%
fig
=
plot
(
custom_mesh
(
np
.
pi
,
np
.
pi
*
2
),
"
example
"
)
fig
=
plot
(
custom_mesh
(
np
.
pi
,
np
.
pi
*
3
),
"
example
"
)
# %% [markdown]
# The same is true here:
# %%
fig
=
plot
(
[
custom_mesh
(
np
.
pi
,
np
.
pi
*
2
),
custom_mesh
(
np
.
pi
,
np
.
pi
*
2
)],
"
example
"
[
custom_mesh
(
np
.
pi
,
np
.
pi
*
3
),
custom_mesh
(
np
.
pi
,
np
.
pi
*
3
)],
"
example
"
)
# %% [markdown]
...
...
This diff is collapsed.
Click to expand it.
ogstools/meshplotlib/plot_setup_defaults.py
+
1
−
1
View file @
c313cea5
...
...
@@ -10,7 +10,7 @@ setup_dict = {
"
default_cmap
"
:
"
RdBu_r
"
,
"
dpi
"
:
120
,
"
fig_scale
"
:
1.0
,
"
min_ax_aspect
"
:
1.0
,
"
min_ax_aspect
"
:
0.5
,
"
max_ax_aspect
"
:
2.0
,
"
invert_colorbar
"
:
False
,
"
layout
"
:
"
compressed
"
,
...
...
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