General

Expand all | Collapse all

Rendering through Python

  • 1.  Rendering through Python

    Posted 03-28-2018 16:28

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



  • 2.  RE: Rendering through Python

    Posted 03-28-2018 18:18

    @dataMan are you using Community Edition on GPUs?



  • 3.  RE: Rendering through Python

    Posted 03-29-2018 13:43

    Hi, I’m using Enterprise on GPU



  • 4.  RE: Rendering through Python

    Posted 03-29-2018 16:03

    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.