Comments (1)
One solution would be to regenerate/overwrite the report with the both the old and the new content. However we're looking at adding an append mode so you can append additional graphs/plots to an existing published report, e.g. report.publish(name="my report", update_mode="append")
- this would update the existing report "my report" with the additional plots/graphs/text/etc. - would that solve your use-case?
If you want to modify within the same script instance, you can modify your report object as much as needed until you publish it, i.e.
def func_a() -> List[Blocks]:
return [dp.Plot(a), dp.Plot(b)]
def func_b() -> List[Blocks]:
return [dp.Plot(c), dp.Table(df)
blocks = func_a() + func_b()
r = Report(blocks=blocks).publish(...)
or you can use the dp.Group
functionality to collect together blocks rather than storing in a list. We also plan on adding some additional helper functions here to make it easier to modify an existing report object, e.g. add blocks, pages, etc., before publishing.
from datapane.
Related Issues (20)
- Add direct support for SVG images HOT 4
- Control the relative size of the columns in `dp.Group` HOT 2
- Python 3.11 Support HOT 2
- Serialization of Page class
- "Uncaught ReferenceError: process is not defined" with the standalone mode HOT 1
- dp.cells_to_blocks() misses all figures HOT 7
- How does one specify templates? HOT 3
- FutureWarning from pandas to be resolved HOT 1
- ValueError: too many values to unpack (expected 2) when showing a DataTable in Jupyter HOT 6
- module 'datapane' has no attribute 'PageLayout' HOT 1
- Release message and module 'datapane' has no attribute 'Report' with version 0.16.1 HOT 3
- Linking out to external resources in dp.HTML() HOT 3
- Report Generation as per Quickstart Guide Fails HOT 4
- [Bug]: Dynamic Block does not call the on_timer function HOT 4
- [Bug]: FileNotFoundError: Can't identify the notebook path. HOT 1
- [Bug]: ImportError: cannot import name 'appengine' from 'urllib3.contrib' HOT 5
- [Bug]: Bignumber prev_value and change HOT 1
- [Bug]: Report upload errror HOT 1
- [Bug]: Upload is not working HOT 1
- [Bug]: Library does not support `python = "^3.9"` HOT 3
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 datapane.