Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b9ed472

Browse filesBrowse files
authored
DOC: fix transformed bxp example
1 parent f697cb1 commit b9ed472
Copy full SHA for b9ed472

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎doc/devel/MEP/MEP28.rst

Copy file name to clipboardExpand all lines: doc/devel/MEP/MEP28.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ data differently depending one these types of transforms.
124124
stats = cbook.boxplot_stats(data, label='arimetic')
125125
logstats = cbook.boxplot_stats(np.log(data), label='log')
126126

127-
for lsr in log_stats_raw:
128-
for key, value in lsr.items():
127+
for lsdict in logstats:
128+
for key, value in lsdict.items():
129129
if key != 'label':
130-
lsr[key] = np.exp(value)
130+
lsdict[key] = np.exp(value)
131131

132132
stats.extend(logstats)
133133
ax.bxp(stats)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.