Skip to content

Commit b474f98

Browse files
changed boxplots for barplots in '_explore_state' function
1 parent 3f8c215 commit b474f98

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

pyleida/plotting/_plotting.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1789,12 +1789,8 @@ def _explore_state(centroid,rois_labels,occupancy,dwell_times,coords,state_numbe
17891789
x=occupancy.condition,
17901790
y=occupancy.value,
17911791
ax=axd['lower center'],
1792-
color='black' if not darkstyle else 'white',
1793-
width=.4,
1794-
fliersize=.4,
1795-
#linewidth=.8,
1796-
#boxprops = dict(linewidth=3,color='black'),
1797-
medianprops = dict(linewidth=1.5, color='black' if darkstyle else 'white')
1792+
color='firebrick',
1793+
errobar='se'
17981794
)
17991795
axd['lower center'].set_ylabel('Occupancy',fontsize=15)
18001796
axd['lower center'].set_xlabel('')
@@ -1812,12 +1808,8 @@ def _explore_state(centroid,rois_labels,occupancy,dwell_times,coords,state_numbe
18121808
x=dwell_times.condition,
18131809
y=dwell_times.value,
18141810
ax=axd['lower right'],
1815-
color='black' if not darkstyle else 'white',
1816-
width=.4,
1817-
fliersize=.4,
1818-
#linewidth=.8,
1819-
#boxprops = dict(linewidth=3, color='black'),
1820-
medianprops = dict(linewidth=1.5, color='black' if darkstyle else 'white')
1811+
color='firebrick',
1812+
errobar='se'
18211813
)
18221814
axd['lower right'].set_ylabel('Dwell time',fontsize=15)
18231815
axd['lower right'].set_xlabel('')

0 commit comments

Comments
 (0)