Skip to content

Commit

Permalink
Align two subplots
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Buccino <[email protected]>
  • Loading branch information
ZhixiaoSu and alejoe91 authored Jun 18, 2024
1 parent 867eedd commit 6c2f018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aind_ephys_rig_qc/qc_figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def plot_power_spectrum(data, sample_rate, stream_name):
"""

fig = Figure(figsize=(10, 4))
ax = fig.subplots(2, 1, gridspec_kw={"height_ratios": [2, 1]})
ax = fig.subplots(2, 1, gridspec_kw={"height_ratios": [2, 1]}, sharex=True)

subset = data[:1000, :]
p_channel = []
Expand Down

0 comments on commit 6c2f018

Please sign in to comment.