Comments (4)
Seems to be related to ipython/ipython#2426
from pweave.
Yes, but there is also FileNotFoundError in the exception handling branch.
I informed IPython developers about the issue (ipython/ipython#10753).
from pweave.
May we disable writing the history of weaved files?
As an annoying side effect it pollutes IPython history - for example now I have over 8000 sessions like:
%matplotlib inline
from IPython.display import set_matplotlib_formats
set_matplotlib_formats('png', 'pdf', 'svg')
import matplotlib
matplotlib.rcParams.update({"figure.figsize" : (6, 4)})
matplotlib.rcParams.update({"savefig.dpi" : 100})
print(123)
matplotlib.rcParams.update({"figure.figsize" : (6, 4)})
matplotlib.rcParams.update({"savefig.dpi" : 100})
a = 42
print(a)
matplotlib.rcParams.update({"figure.figsize" : (6, 4)})
matplotlib.rcParams.update({"savefig.dpi" : 100})
2 + 2 * 2 ** 2
matplotlib.rcParams.update({"figure.figsize" : (6, 4)})
matplotlib.rcParams.update({"savefig.dpi" : 100})
for i in range(3):
print(i)
matplotlib.rcParams.update({"figure.figsize" : (6, 4)})
matplotlib.rcParams.update({"savefig.dpi" : 100})
for i in range(3):
print(i)
print(i**2)
matplotlib.rcParams.update({"figure.figsize" : (6, 4)})
matplotlib.rcParams.update({"savefig.dpi" : 100})
for i in range(3):
print(i)
print(1 + 2)
matplotlib.rcParams.update({"figure.figsize" : (6, 4)})
matplotlib.rcParams.update({"savefig.dpi" : 100})
for i in range(2):
print(i)
if i > 0:
print("one")
matplotlib.rcParams.update({"figure.figsize" : (6, 4)})
matplotlib.rcParams.update({"savefig.dpi" : 100})
for i in range(3):
print(i)
if i == 1:
raise Exception("foo")
print(42)
matplotlib.rcParams.update({"figure.figsize" : (6, 4)})
matplotlib.rcParams.update({"savefig.dpi" : 100})
def f
print(42)
from pweave.
I already disabled it for commands 5a08b65 . It still creates the file though, I couldn't find a way to disable it completely (apart from editing IPython profile).
from pweave.
Related Issues (20)
- Remove `Published using Pweave` Notice HOT 1
- File Failed to Load MathJax HOT 1
- Broken since python3.8 upgrade HOT 3
- pweave using `results='tex'` in chunk headers creates empty lines in the tex file
- Feature request: include code from chunks with 'source' option in ptangle output
- chunk option `f_spines` documented but does not seem to be implemented
- Is there anyway to change the table format as in fig width
- Not compatible with `jupyter_client>=6` HOT 9
- `<%= %>` and `<% %>` have the same functionality
- figformat removes in >0.3?
- md to pdf using pweave HOT 1
- Any changes to handling of tikz diagrams?
- figure numbers in pandoc
- Is the project still active? HOT 6
- publish can easily support markdown format
- Can chunk option values be expressions?
- customizing fonts, code font size/syntax coloring, document color, etc.
- Not compatible with jupyter-client >= 7.0.0 HOT 6
- Syntax warning from __init__.py: assert file != "" is not None
- WeaveTest.testFIR_FilterExampleTex failing
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 pweave.