Comments (2)
@jj-github-jj you can now set these properties by doing the following:
d = dtale.show(df, main_title="test title", main_title_font="Arial")
If you don't set the main_title_font
it will just take the default font you see now for the title.
I have added this functionality to the v3.13.0 release on pypi (will be on conda-forge shortly). Let me know if you have any issues. Also, whenever you get a sec would you mind tossing your ⭐ on the dtale repo? Thanks 🙏
from dtale.
I also changed views.py as follows
def _view_main(data_id, iframe=False):
"""
Helper function rendering main HTML which will also build title and store whether we are viewing from an <iframe>
:param data_id: integer string identifier for a D-Tale process's data
:type data_id: str
:param iframe: boolean flag indicating whether this is being viewed from an <iframe> (usually means ipython)
:type iframe: bool, optional
:return: HTML
"""
title = "D-Tale"
main_title = global_state.get_app_settings().get("main_title") # TODO
print (f'main title: {main_title}')
title = main_title or "D-Tale2" # TODO
name = global_state.get_name(data_id)
if name:
title = "{} ({})".format(title, name)
return base_render_template("dtale/main.html", data_id, title=title, iframe=iframe)
from dtale.
Related Issues (20)
- Changed behaviour of port and host assignment HOT 1
- Info Page HOT 5
- can I use customize line to add new column otherwise only +-*/ buttom? HOT 2
- selecting all columns instead of one by one HOT 4
- Dynamically Calculating Column Aggregates HOT 2
- Access Altered DF Results (after filtering, sorting, etc.) HOT 2
- How to set up the IP address and port for the open page HOT 1
- Colab + Firefox = 404 Error HOT 1
- Support for custom mouse/keyboard handlers
- Add "is not nan" to simple filters context menu HOT 3
- CVE-2024-3408 reported on dtale, hardcoded SECRET_KEY on app.py HOT 5
- jupyter-server-proxy setup doesn't work in docker
- No module named 'imp' HOT 1
- update-settings Endpoint HOT 1
- D-Tale does not give required output in browser when running in vscode's ipynb environment HOT 2
- Raw Pandas Output HOT 5
- Ignoring oldest-supported-numpy: markers 'python_version != "3.7" or platform_machine == "aarch64" or platform_system == "AIX" or platform_python_implementation == "PyPy"' don't match your environment HOT 17
- how to disable or change /dtale/popup/upload HTTP/1.1 HOT 1
- How to add configurations settings to Dtale embedded in Flask app HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dtale.