Skip to content

Commit e1bc02d

Browse files
authored
Fix matplotlib stem issue
1 parent f783c9b commit e1bc02d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/adc/test_flash_adc8.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ async def run_adc_characterisation(dut):
163163
fig, (ax0, ax1) = plt.subplots(2, 1, figsize=(6.4, 6.4), sharex=True)
164164

165165
codes = np.arange(256)
166-
ax0.stem(codes, dnl, basefmt=" ", use_line_collection=True)
166+
ax0.stem(codes, dnl, basefmt=" ")
167167
ax0.set_ylabel("DNL [LSB]")
168168
ax0.grid(True, ls=":")
169169

170-
ax1.stem(codes, inl, basefmt=" ", use_line_collection=True)
170+
ax1.stem(codes, inl, basefmt=" ")
171171
ax1.set_xlabel("Code")
172172
ax1.set_ylabel("INL [LSB]")
173173
ax1.grid(True, ls=":")

0 commit comments

Comments
 (0)