Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plot Serializer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RDM Tools
Plot Serializer
Commits
93f9b2cf
Commit
93f9b2cf
authored
1 month ago
by
Julius
Browse files
Options
Downloads
Patches
Plain Diff
added doc for write to paths
parent
851098af
No related branches found
No related tags found
1 merge request
!44
Resolve "Add doc for when to call via serializer, when to call plt"
Pipeline
#1655446
passed
1 month ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/output.rst
+6
-0
6 additions, 0 deletions
doc/output.rst
with
6 additions
and
0 deletions
doc/output.rst
+
6
−
0
View file @
93f9b2cf
...
...
@@ -9,6 +9,12 @@ The JSON string can be accessed via the ``to_json()``-Method on the serializer o
serializer.to_json()
serializer.write_json_file("test_plot.json")
Writing to paths is also supported, with directories being created if they do not exist.
.. code-block:: python
serializer.write_json_file("some_dir/test_plot.json")
Serializing to RO-Crate
-----------------------
PloSe allows you to store your plot as an `RO-Crate <https://www.researchobject.org/ro-crate/>`_.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment