Skip to content

Colorbars are z-stacked on top of each other #75

@banesullivan

Description

@banesullivan

If a VTK scene has multiple scalar bars, the exported VTK.js scene has the scalar bars Z-stacked on top of eachother. I'm wondering if there is a way to lay these out better

import pyvista as pv
pl = pv.Plotter()
pl.add_mesh(pv.Sphere(center=(16, 0, 0), radius=5).elevation(), cmap='terrain')
pl.add_mesh(pv.Wavelet())
pl.export_html('scene.html')
pl.show()
PyVista Scene Exported VTK.js Scene
Image Image

I actually typically see them right on top of each other even though in this example they are slightly offset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions