v1.0.2 #11
aadimator
announced in
Announcements
v1.0.2
#11
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
env.rendersupportrgb_array,ansi,svgand adetailedmode for step visualizations.StepVisualizationWrapperwhich renders before/after transitions, action metadata and highlights changed cells.jaxarc.wrappers.What’s new
Unified Render API
env.render(state, mode="rgb_array")-> returns numpy array suitable for saving as an image.env.render(state, mode="ansi")-> returns a string to print to terminal (uses rich for color fidelity).env.render(state, mode="svg")-> returns SVG string for embedding in notebooks and docs.StepVisualizationWrappersupportsmode="detailed"to produce annotated SVG with changes and action metadata.Wrapper Consolidation
jaxarc.wrappers(e.g.,from jaxarc.wrappers import PointActionWrapper).jaxarc.envsnow re-exports wrapper classes for backward compatibility, butjaxarc.wrappersis the recommended import.Docs
docs/tutorialsto illustrate the env render modes andStepVisualizationWrapper.docs/api/wrappers.mdanddocs/tutorials/visualizing-tasks.ipynbinclude new sections for environment rendering.Full Changelog: v1.0.1...v1.0.2
This discussion was created from the release v1.0.2.
Beta Was this translation helpful? Give feedback.
All reactions