Remove values in no-particle region for ParticlePlot

#2565 Declined
Repository
jisuoqing
Branch
yt
Repository
yt_analysis
Branch
yt
Author
  1. Suoqing Ji
Reviewers
Description

This fix depends on PR#2564.

Test script:

import yt

ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
plot = yt.ParticlePlot(ds,
                       'particle_position_x',
                       'particle_position_y',
                       'particle_velocity_x')
plot.set_log("all", False)
plot.save()

Before this PR:

old.png

After this PR:

new.png

Comments (1)