Skip to content

Commit 6cf35b6

Browse files
committed
Make example figures have larger dpi
1 parent bd46f8c commit 6cf35b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/doppler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@
265265
power_doppler_db = db_zero(power_doppler_2d)
266266

267267
# Plot along with axis labels
268-
fig, ax = plt.subplots()
268+
fig, ax = plt.subplots(figsize=(8, 6), dpi=300)
269269
extent = [x.min() * MM_PER_METER, x.max() * MM_PER_METER, z.max() * MM_PER_METER, z.min() * MM_PER_METER]
270270
im = ax.imshow(
271271
power_doppler_db.T,

examples/plane_wave_compound.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
bmode_db = db_zero(beamformed_image)
179179

180180
# Create high-quality visualization
181-
fig, ax = plt.subplots(figsize=(12, 8))
181+
fig, ax = plt.subplots(figsize=(8, 8), dpi=300)
182182

183183
# Set up coordinate system for proper display
184184
extent = [

0 commit comments

Comments
 (0)