Rendering through Python


#1

I might have missed it in the documentation, but how do I invoke the API through python to render a visualization?


#2

@dataMan are you using Community Edition on GPUs?


#3

Hi, I’m using Enterprise on GPU


#4

Thanks. You should be able to use the render_vega thrift call to ask the backend to render whatever you want as a PNG and then it will be returned as a binary blob. This should work with python, and we would love to hear about your results.

Here’s further documentation on the vega renderer.

There’s also some relevant sample code in MapDExample.py, but those examples don’t specifically call the API.