Exemplo n.º 1
0
def test_plot_compar_four():
    # Really just making sure no errors are thrown
    mesh = examples.load_uniform()
    data_a = mesh.contour()
    data_b = mesh.threshold_percent(0.5)
    data_c = mesh.decimate_boundary(0.5)
    data_d = mesh.glyph()
    pyvista.plot_compare_four(data_a, data_b, data_c, data_d, disply_kwargs={'color':'w'},
                      plotter_kwargs={'off_screen':OFF_SCREEN},)
    return
Exemplo n.º 2
0
def test_plot_compare_four():
    # Really just making sure no errors are thrown
    mesh = examples.load_uniform()
    data_a = mesh.contour()
    data_b = mesh.threshold_percent(0.5)
    data_c = mesh.decimate_boundary(0.5)
    data_d = mesh.glyph(scale=False)
    pyvista.plot_compare_four(data_a, data_b, data_c, data_d,
                              disply_kwargs={'color': 'w'},
                              show_kwargs={'before_close_callback': verify_cache_image})