Log plots and charts#
The upload
method generally works for uploading any file-like object to Neptune.
import neptune
run = neptune.init_run()
fig = ...
run["chart"].upload(fig)
run["plot"].upload("my_plot_file.webp")
Below are some specific tips, depending on what kind of library or data type you're working with.
Working with some plotting library? → Upload the figure object directly.
Related
To learn how to log single figure objects or create a series of them, see Log images.
Got an interactive chart to visualize? → Try uploading the figure object directly, or use File.as_html()
.
Related
For more examples, see Log interactive charts and visualizations.
Got a custom chart that you're not sure how to log? → Just upload the chart as any other file.
Related
- For an overview of how to log different types of files and data, see Essential logging methods.
- Downloading or fetching files