# Avoid truncation for display of custom Tables object

**URL:** https://discourse.julialang.org/t/avoid-truncation-for-display-of-custom-tables-object/101326
**Category:** General Usage
**Tags:** jupyter, pretty-printing
**Created:** [July 7, 2023, 7:07pm UTC](https://discourse.julialang.org/t/avoid-truncation-for-display-of-custom-tables-object/101326 "2023-07-07T19:07:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)
#### Post date: [July 7, 2023, 7:07pm UTC](https://discourse.julialang.org/t/avoid-truncation-for-display-of-custom-tables-object/101326/1 "2023-07-07T19:07:29Z")

</div>

I have a custom type `CollectedBenchmarks` that implements the [`Tables.jl`](https://github.com/JuliaData/Tables.jl) interface. I’ve defined

```julia
function Base.show(io::IO, ::MIME"text/plain", b::CollectedBenchmarks)
    pretty_table(io, b; show_row_number=true)
end

```

using `pretty_table` from [`PrettyTables.jl`](https://ronisbr.github.io/PrettyTables.jl/stable/man/usage/). However, in a Jupyter notebook, for an object `result::CollectedBenchmarks`, I’m seeing the following truncated output:

 ![CleanShot 2023-07-07 at 15.03.10@2x](https://global.discourse-cdn.com/julialang/original/3X/1/4/1459af925d8ae745d9b77626ad2b99e6c0b14cb0.png)

Same with `display(result)`.

In contrast, if I call `pretty_table` directly, I get the full table:

 ![CleanShot 2023-07-07 at 15.03.52@2x](https://global.discourse-cdn.com/julialang/original/3X/0/0/008a408f233f30747da49db7adb7bb48fba68b75.png)

What is responsible for the trunctation in the `display` case, and how can I configure or disable it?
