Skip to content

Commit 7eb5a99

Browse files
committed
Edits on API files, remake test plots
1 parent 537be39 commit 7eb5a99

39 files changed

Lines changed: 6 additions & 2 deletions

dabest/plot_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def error_bar(data:pd.DataFrame, # This DataFrame should be in 'long' format.
182182
kwargs['zorder'] = kwargs['zorder']
183183

184184
for xpos, central_measure in enumerate(central_measures):
185+
185186
kwargs['color'] = custom_palette[xpos]
186187

187188
if method == 'sankey_error_bar':
@@ -651,4 +652,3 @@ def sankeydiag(data:pd.DataFrame,
651652
sankey_ticks = [broadcasted_left[0], right_idx[0]]
652653
ax.set_xticks([0, 1])
653654
ax.set_xticklabels(sankey_ticks)
654-

nbs/API/plot_tools.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"cells": [
33
{
4+
"attachments": {},
45
"cell_type": "markdown",
56
"id": "5d5d1b29",
67
"metadata": {},
@@ -70,6 +71,7 @@
7071
"outputs": [],
7172
"source": [
7273
"#| export \n",
74+
"\n",
7375
"def halfviolin(v, half='right', fill_color='k', alpha=1,\n",
7476
" line_color='k', line_width=0):\n",
7577
" import numpy as np\n",
@@ -236,6 +238,7 @@
236238
" kwargs['zorder'] = kwargs['zorder']\n",
237239
"\n",
238240
" for xpos, central_measure in enumerate(central_measures):\n",
241+
" \n",
239242
" kwargs['color'] = custom_palette[xpos]\n",
240243
"\n",
241244
" if method == 'sankey_error_bar':\n",
@@ -704,7 +707,7 @@
704707
" else:\n",
705708
" sankey_ticks = [broadcasted_left[0], right_idx[0]]\n",
706709
" ax.set_xticks([0, 1])\n",
707-
" ax.set_xticklabels(sankey_ticks)\n"
710+
" ax.set_xticklabels(sankey_ticks)"
708711
]
709712
},
710713
{

nbs/API/plotter.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"cells": [
33
{
4+
"attachments": {},
45
"cell_type": "markdown",
56
"id": "984371b3",
67
"metadata": {},
-625 Bytes
Loading
-608 Bytes
Loading
-481 Bytes
Loading
41 Bytes
Loading
67 Bytes
Loading
11 Bytes
Loading
11 Bytes
Loading

0 commit comments

Comments
 (0)