How to set linewidth of Chain?
cserteGT3 opened this issue · comments
Is there any way to set the width of the drawn lines, when visualizing Chain
s? I think Makie's argument is called linewidth
, but that is not passed through.
MWE is something like this:
viz(Chain([Point3(0,0,0), Point3(0,1,0), Point3(0,0,1), Point3(1,1,1)]), linewidth=10)
I think we should add a keyword argument that is a dictionary of aestetics
for different geometries. This way we get a consistent name for all options.
For example viz(geoms, aesthetics=Dict(Segment => ..., Polygon => ...))
We could then remove the option size that currently only works for Point in
point sets.
Em qua., 19 de abr. de 2023 11:27, cserteGT3 ***@***.***>
escreveu:
… Is there any way to set the width of the drawn lines, when visualizing
Chains? I think Makie's argument is called linewidth, but that is not
passed through.
MWE is something like this:
viz(Chain([Point3(0,0,0), Point3(0,1,0), Point3(0,0,1), Point3(1,1,1)]), linewidth=10)
—
Reply to this email directly, view it on GitHub
<#45>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZQW3O6X2G43ZAA3SIIFBLXB7Y3RANCNFSM6AAAAAAXEFDJVQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
I like that idea, because I often find myself tweaking different aestethics parameters. Though going through the code, I'm not sure that I could setup even an initial version in a PR.
We could even parameterize the dictionary by the parametric dimension of
geometries like in Dict(0 => ..., 1 => ...) where 0 = Point, 1 = Segment, 2
= 2D geoms, 3 = 3D geoms
Em qua., 19 de abr. de 2023 12:00, cserteGT3 ***@***.***>
escreveu:
… I like that idea, because I often find myself tweaking different
aestethics parameters. Though going through the code, I'm not sure that I
could setup even an initial version in a PR.
—
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZQW3MWQGVION735D4DHZLXB74YTANCNFSM6AAAAAAXEFDJVQ>
.
You are receiving this because you commented.Message ID:
***@***.***>