-
Notifications
You must be signed in to change notification settings - Fork 25
Docs Review #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs Review #19
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing typos
Sorry, I meant I might have some trouble importing them i.e. import 00_... But I think I can just use that approach. |
I think it's a good idea keeping the snippets, I'm mostly worried that they will confuse the dash users that only know Python but not JSX.
I'm not sure I fully understand that. Do you mean the |
Those are just React alias to some degree.
We can prefix them with |
I'll merge your fix and take a stab at your comments. |
@jourdain thank you! |
Would the following be easier for your users? def PointCloudRepresentation(**kwargs):
return dash_vtk.GeometryRepresentation(
id=kwargs.get('id'),
colorMapPreset=kwargs.get('colorMapPreset'),
colorDataRange=kwargs.get('colorDataRange'),
property=kwargs.get('property'),
children=[
dash_vtk.PolyData(
points=kwargs.get('xyz'),
connectivity='points',
children=[
dash_vtk.PointData([
dash_vtk.DataArray(
registration='setScalars',
values={kwargs.get('scalars')}
)
])
],
)
],
) |
Pushed all the updates... Feel free to give another look. |
@jourdain I am still getting this issue with the PointCloudRepresentation, where the ID is found, but still some "id" issue:
|
@xhlulu , you may want to do a pass when you update |
Awesome work @jourdain! @alexcjohnson could you forward that to the current maintainer of dash-vtk? |
Wow the user guide is really great! Just minor details:
importlib
; would that be ok?