ahadziha / rewalt Goto Github PK
View Code? Open in Web Editor NEWA toolkit for higher-dimensional diagram rewriting.
Home Page: https://rewalt.readthedocs.io/
License: BSD 3-Clause "New" or "Revised" License
A toolkit for higher-dimensional diagram rewriting.
Home Page: https://rewalt.readthedocs.io/
License: BSD 3-Clause "New" or "Revised" License
Using matplotlib.pyplot
outside of rewalt with pyplot.show()
opens a functioning window.
However, rewalt creates an unresponsive window without showing the plot, giving a prompt of " "" is not responding". It can only be killed by using xkill
.
Saving the image without opening a window, and then opening the saved image works, however.
Python version:
Python 3.10.4
Matplotlib backend:
matplotlib.get_backend()
'GTK4Agg'
Rewalt version:
import rewalt
rewalt.__version__
'0.1.0'
OS: Pop_OS!
Window manager: GNOME Display Manager
Working with the latest changes as per the current date.
The following works:
import matplotlib.pyplot as plt
fig, axes = plt.subplots()
plt.show()
But the following produces an unresponsive window:
import rewalt
test = rewalt.drawing.MatBackend()
test.output()
Trying this saves the image:
import rewalt
test = rewalt.drawing.MatBackend()
test.output(path="test.png",show=False)
Opening the image from the terminal works as well, opening a window showcasing the image.
Disabling the WM doesn't change anything.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.