Comments (2)
Unfortunately this is not currently supported. It seems like it wouldn't be too hard to add, but I don't know of any plan to do it.
If you (or anyone else) are interested in looking into this, the issue is that reset_figure
is called in pgm.render()
which removes any previously defined figure:
Line 456 in 5d3d8c7
We'd need to figure out how to remove that call to get this to work!
from daft.
Rather than making a new figure, render could take an ax
argument. If not provided it would make a new figure and axes.
from daft.
Related Issues (20)
- Plate label appears in a blue box HOT 8
- "The system cannot find the file specified" during pgm.figure.savefig() HOT 6
- Need a new principal maintainer. HOT 6
- Travis CI HOT 3
- Document the release process (pushing to PyPI etc.) HOT 2
- Document the process that we'll use for building the docs
- Point docs to readthedocs instead of github pages HOT 1
- Double-line node for deterministic variables HOT 2
- Proper citation for Daft? HOT 3
- Automatic placement of nodes HOT 1
- Default fonts not working HOT 2
- daft.PGM() TypeError: __init__() missing 1 required positional argument: 'shape' HOT 9
- Part of the arrows lies inside circles HOT 3
- Images not showing up on docs HOT 1
- node_fc keyword argument not recognized HOT 2
- runtime warning for add-edge HOT 2
- Add pyupgrade via ruff HOT 1
- Assert statements in the Code HOT 2
- Plate labels and up having a blue background HOT 9
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 daft.