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

Skip to content

Param pyviz code refactoring and style tool tips #397

@OrtnerMichael

Description

@OrtnerMichael
  • Reducing style class codes with param pyviz package
  • make tool tips work for style classes while at it

Example code where tool tips are not displayed:

import magpylib as magpy

s = magpy.magnet.Cuboid((1,2,3), (1,2,3))
s.style.magnetization.show=False

s.show()

see also https://discourse.holoviz.org/t/what-is-the-best-way-to-define-nested-parameters-in-parameterized-class/2733/10

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions