Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix max_n for tabular data show_batch function #3998

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastai/tabular/core.py
Expand Up @@ -341,7 +341,7 @@ def decodes(self, o):
# %% ../../nbs/40_tabular.core.ipynb 93
@typedispatch
def show_batch(x: Tabular, y, its, max_n=10, ctxs=None):
x.show()
x.show(max_n=max_n)

# %% ../../nbs/40_tabular.core.ipynb 94
@delegates()
Expand Down
2 changes: 1 addition & 1 deletion nbs/40_tabular.core.ipynb
Expand Up @@ -1922,7 +1922,7 @@
"#|export\n",
"@typedispatch\n",
"def show_batch(x: Tabular, y, its, max_n=10, ctxs=None):\n",
" x.show()"
" x.show(max_n=max_n)"
]
},
{
Expand Down