question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Is it possible to customize the way types are drawn in jupyter?

See original GitHub issue

I noticed that we can use display, but is there a way to make it look like we do it in python? Maybe some method overload so that my type’s output is some specific html code? In python there is _repr_html_ for that

I’m sorry if it’s a duplicate, but I didn’t find it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
WhiteBlackGoosecommented, Nov 12, 2020

@colombod Now imagine I will (hopefully) soon push a nuget package that will override this rendering by default so that people will experience same thing as they would in python’s sympy… but in .NET. It’s awesome, isn’t it? Thanks to this repo & .NET!

1reaction
WhiteBlackGoosecommented, Nov 12, 2020

Amazing, thanks! I was making it for a lib image

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the currently correct way to dynamically update ...
So the idea is to draw a plot and then, without any interaction from the user, update the data in the plot without...
Read more >
Using Jupyter notebook for writing
To edit the text in the cell, simply double click it again. You can make changes, and then click the 'play' button, click...
Read more >
The Ultimate Markdown Guide (for Jupyter Notebook)
Markdown Cells allows you to write and render Markdown syntax. Here's where you can explain and document the processes. On the other hand,...
Read more >
Plot With pandas: Python Data Visualization for Beginners
In this tutorial, you'll get to know the basic plotting possibilities that Python provides in the popular data analysis library pandas.
Read more >
How to Write and Run Code in Jupyter Notebook
Remember, Jupyter supports multiple types of cells, the main ones being Code, which are cells where you can write and execute code, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found