Function limit_size() Works Now Only Before plot_size()
See original GitHub issueHey
limit_size()
no longer seems to be working. If i set it to False, False
the plot will still be limited to the terminal size. In the previous version this worked to create bigger plots. Because I am not running it from a terminal it will always be limited to 80x24
now
#!/usr/bin/env python
import plotext as plt
y = plt.sin()
plt.scatter(y)
plt.plot_size(200, 300)
plt.limit_size(False,False)
plt.title("Scatter Plot")
plt.show()
Issue Analytics
- State:
- Created a year ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
figsize in matplotlib is not changing the figure size? [duplicate]
Try setting up the size of the figure before assigning what to plot, as below: import matplotlib.pyplot as plt %matplotlib inline ...
Read more >Setting the size of a figure in matplotlib and seaborn
We can set the size by adding a figsize keyword argument to our pandas plot() function. The value has to be a tuple...
Read more >Excel specifications and limits - Microsoft Support
In Excel 2010, the maximum worksheet size is 1048576 rows by 16384 columns. ... Workbook size is limited only by available memory and...
Read more >Chapter 4. Visualization with Matplotlib - O'Reilly
plot() function using IPython's help tools (see “Help and Documentation in IPython”). Adjusting the Plot: Axes Limits. Matplotlib does a decent job of...
Read more >how to set graph size - MATLAB Answers - MathWorks
Set the 'Position' property on the current figure (gcf). Specify the position as a vector of the form “[x0 y0 width height]”, where...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @Neo-Oli ,
I finally updated
plotext
including the changes you asked for.The new version is available on GitHib and soon also on PyPi. To install follow the indications here.
Your changes are documented here.
Thanks a lot for your inputs and all the best, Savino
Ah, I know what the problem is. It is now depends on the order of operations.
This will create a big plot:
And this will create the limited plot:
In the previous version both snippets resulted in the same output.
Perhaps this should be documented.