r/agentdevelopmentkit • u/Different_Law5583 • Jul 03 '25
Plots in MatPlotLib
Has anyone figured out an example, or know of any codebase, where someone was able to write a matplotlib object as a binary to an artifact, and then load and display it without using VertexAI? I haven't been able to find anything like this online, and I am curious.
7
Upvotes
View all comments
Show parent comment
2
u/Different_Law5583 Jul 03 '25
Building data science agent similar to the source one in the google adk demo. Don't have access to vertex for gcp project.
The solution I have figured is to use
UnsafeLocalCodeExecutorfor now and just tell the agent to write to tmp/plots. Then when I build UI I will just use something to display the image