Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
c06d833
draft
Alexboiboi May 31, 2024
b110200
add zoom by subplots, fix axes labeling
Alexboiboi Jun 1, 2024
998b7c7
fix empty subplots
Alexboiboi Jun 3, 2024
ceb9071
fix subplot ranges and animation
Alexboiboi Jun 3, 2024
31a88f9
fix zoom check
Alexboiboi Jun 3, 2024
98786fa
fix labeling
Alexboiboi Jun 3, 2024
d5004d5
fix generic extra trace scaling
Alexboiboi Jun 3, 2024
b208c36
fix extra non generic scaling
Alexboiboi Jun 3, 2024
5b2e6d3
pylint
Alexboiboi Jun 3, 2024
0bd2eb4
add cm and dm as units_length inputs
Alexboiboi Jun 3, 2024
0223123
fix ranges on non generic extra traces
Alexboiboi Jun 3, 2024
a66dc84
fix edge case range where no trace in subplot
Alexboiboi Jun 3, 2024
6054403
rework row cols conflicting inputs checks
Alexboiboi Jun 3, 2024
fc0e790
update github actions
Alexboiboi Jun 4, 2024
8a58de6
bump codeql actions versions
Alexboiboi Jun 4, 2024
5166298
fix checkout
Alexboiboi Jun 4, 2024
e5a6e5c
fix version
Alexboiboi Jun 4, 2024
11b368e
update
Alexboiboi Jun 4, 2024
24d90ee
move to dev version
Alexboiboi Jun 4, 2024
60293ea
Merge branch 'main' of https://github.com/magpylib/magpylib into upda…
Alexboiboi Jun 4, 2024
34912bc
Merge branch 'main' of https://github.com/magpylib/magpylib into show…
Alexboiboi Jun 4, 2024
27fdfcd
Merge branch 'update-github-actions' of https://github.com/magpylib/m…
Alexboiboi Jun 4, 2024
dc63fbc
add tests
Alexboiboi Jun 4, 2024
b65caee
add docs entry
Alexboiboi Jun 4, 2024
3f41c47
fix typo in test
Alexboiboi Jun 4, 2024
14c4670
pylint
Alexboiboi Jun 4, 2024
2507c32
refactor
Alexboiboi Jun 5, 2024
1e86e43
fix autosize scaling with units
Alexboiboi Jun 5, 2024
96c2e59
Merge branch 'main' of https://github.com/magpylib/magpylib into show…
Alexboiboi Jun 5, 2024
36e648c
ad units_length=None als option to remove axes labels
Alexboiboi Jun 5, 2024
da50da5
fix axes label in parentheses
Alexboiboi Jun 5, 2024
11980b6
remove old code
Alexboiboi Jun 5, 2024
355cb8e
refactor to allow units_length="auto"
Alexboiboi Jun 5, 2024
09d25f7
fix same color for different suplots
Alexboiboi Jun 5, 2024
d3dbfda
remove unused variable (code ql)
Alexboiboi Jun 5, 2024
9b9ffed
update changelog
Alexboiboi Jun 6, 2024
1ab5982
update docs
Alexboiboi Jun 7, 2024
1ba9982
fix collection subobj not being displayed
Alexboiboi Jun 8, 2024
d61a733
fix collection precedence in show
Alexboiboi Jun 8, 2024
298eb66
fix colorsquence on same obj in different subplot
Alexboiboi Jun 10, 2024
350ccda
add color precedence tests
Alexboiboi Jun 10, 2024
6bc14bc
set units_length default to "auto"
Alexboiboi Jun 10, 2024
d2ab5b8
fix line color matching 2D vs 3D
Alexboiboi Jun 10, 2024
4bbb11e
refactor
Alexboiboi Jun 10, 2024
db3810c
refactor
Alexboiboi Jun 10, 2024
22b40ce
add special case marker color to 2d traces
Alexboiboi Jun 11, 2024
957ba91
refactor show_func
Alexboiboi Jun 11, 2024
afe7688
fix different output units in 2d subplots
Alexboiboi Jun 11, 2024
584e560
pylint
Alexboiboi Jun 11, 2024
9040c2a
fix extra trace rescaling
Alexboiboi Jun 11, 2024
8593313
fix single to resize trace on different subplots
Alexboiboi Jun 11, 2024
a9968ee
fix rescaling when vertices are None instead fo np.nan
Alexboiboi Jun 12, 2024
9d054fc
fix pyvista streamlines example
Alexboiboi Jun 12, 2024
6e4f38f
fix collection model3d not being displayed
Alexboiboi Jun 12, 2024
d9af516
replace `np.NINF` with `-np.inf`
Alexboiboi Jun 17, 2024
f159ca5
pylint
Alexboiboi Jun 17, 2024
bc35bd1
replace ´np.row_stack´ with `np.vstack`
Alexboiboi Jun 17, 2024
035a1da
update changelog
Alexboiboi Jun 18, 2024
35c323f
bump version
Alexboiboi Jun 18, 2024
c6fb5a2
Merge branch 'main' of https://github.com/magpylib/magpylib into v5.0…
Alexboiboi Jun 18, 2024
ff34693
Merge branch 'v5.0.4-release' of https://github.com/magpylib/magpylib…
Alexboiboi Jun 18, 2024
5e31d1b
Merge branch 'main' of https://github.com/magpylib/magpylib into show…
Alexboiboi Jun 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix collection precedence in show
  • Loading branch information
Alexboiboi committed Jun 8, 2024
commit d61a7333a6ac60a061c17b430025843bbcb6e8ec
3 changes: 2 additions & 1 deletion magpylib/_src/display/traces_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def get_objects_props_by_row_col(*objs, colorsequence, **kwargs):
Properties include: row_cols, style, legendgroup, legendtext"""
flat_objs_rc = {}
rc_params_by_obj = {}
obj_list_semi_flat = [o for obj in objs for o in obj["objects"]]
for obj in objs:
rc_params = {k: v for k, v in obj.items() if k != "objects"}
for subobj in obj["objects"]:
Expand All @@ -273,7 +274,7 @@ def get_objects_props_by_row_col(*objs, colorsequence, **kwargs):
rc_params_by_obj[child] = []
rc_params_by_obj[child].append(rc_params)
flat_sub_objs = get_flatten_objects_properties_recursive(
*rc_params_by_obj, colorsequence=colorsequence, **kwargs
*obj_list_semi_flat, colorsequence=colorsequence, **kwargs
)
for obj, rc_params_list in rc_params_by_obj.items():
for rc_params in rc_params_list:
Expand Down