Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Matplotlib Animation with Threading
Post: RE: Matplotlib Animation with Threading
(Oct-08-2021, 12:36 PM)deanhystad Wrote: Show the plot right away and update the plot using figure.canvas.draw()
Tried your suggestion.. But couldn't get it to work. What I am seeing is that if I us... |
|
peterjv26 |
General Coding Help |
4 |
7,234 |
Oct-08-2021, 05:51 PM |
|
|
Thread: Matplotlib Animation with Threading
Post: RE: Matplotlib Animation with Threading
As you said , Get values, update plot, repeat periodically is what I was trying to do initially. I tested that with a script like below. In this I am generating the next x,y coordinates and use set_da... |
|
peterjv26 |
General Coding Help |
4 |
7,234 |
Oct-08-2021, 06:05 AM |
|
|
Thread: Matplotlib Animation with Threading
Post: Matplotlib Animation with Threading
I have a requirement to do animation with matplotlib and also generate/manipulate the data to be plotted. I was hoping to get this done in the same program using threading - one thread to generate/man... |
|
peterjv26 |
General Coding Help |
4 |
7,234 |
Oct-07-2021, 05:12 AM |
|
|
Thread: Maptplotlib Animation
Post: RE: Maptplotlib Animation
Got an answer from Stack Overflow. In Spyder I need Tools->Preferences->Graphics->Backend to anything other than Inline. That fixed the issue. |
|
peterjv26 |
General Coding Help |
4 |
3,381 |
Sep-26-2021, 10:19 AM |
|
|
Thread: Maptplotlib Animation
Post: RE: Maptplotlib Animation
My problem seems to be with Anaconda/Spyder. I tried a fresh install of python and tried some of the animation code in the REPL window of new install and it works. The same code does not work on Anaco... |
|
peterjv26 |
General Coding Help |
4 |
3,381 |
Sep-26-2021, 07:41 AM |
|
|
Thread: Maptplotlib Animation
Post: RE: Maptplotlib Animation
Can someone help with this please?
If I add some print statements within my animate(i) function, those are not getting printed.
It seems animate(i) is not getting called from FuncAnimate(). I am stuck... |
|
peterjv26 |
General Coding Help |
4 |
3,381 |
Sep-24-2021, 06:20 AM |
|
|
Thread: Maptplotlib Animation
Post: Maptplotlib Animation
Hi, I was trying to understand myplotlib animation. Watched few tutorial videos and prepared the below code which is pretty much a copy/paste from one of the tutorials. I am trying to run this in Spyd... |
|
peterjv26 |
General Coding Help |
4 |
3,381 |
Sep-23-2021, 03:47 PM |
|
|
Thread: Locating elements via Selenium
Post: RE: Locating elements via Selenium
Thanks mlieqo. itm.tag_name worked.
Is there a link to any "complete reference" of selenium and BeautifulSoup methods/attributes etc. The documentation I am finding searching google are giving specif... |
|
peterjv26 |
Web Scraping & Web Development |
2 |
2,492 |
Oct-02-2020, 07:50 AM |
|
|
Thread: Locating elements via Selenium
Post: Locating elements via Selenium
Hi, Below is an extract from an html page I was working with
<span>
<span class="nice-name">
NIFTY OCT 11200 CE
</span>
</span>
I have some code extract like below(... |
|
peterjv26 |
Web Scraping & Web Development |
2 |
2,492 |
Oct-01-2020, 04:16 PM |
|
|
Thread: Code example for entering input in a textbox with requests/selenium object
Post: Code example for entering input in a textbox with ...
Hi, I am scrapping a website with requests/selenium and I want to enter some text into a textbox and click a button on the returned page. I had seen few code snippets for this in some of the threads i... |
|
peterjv26 |
Web Scraping & Web Development |
1 |
1,716 |
Sep-26-2020, 04:59 AM |
|
|
Thread: Web scrapping - Stopped working
Post: RE: Web scrapping - Stopped working
Thanks mlieqo for your help
I tried your suggestion and it worked sometimes but not consistent.
I tried to do this in a loop with multiple stock symbols as below. Now I get a different error that "Yo... |
|
peterjv26 |
Web Scraping & Web Development |
2 |
3,091 |
Sep-23-2020, 08:30 AM |
|
|
Thread: Web scrapping - Stopped working
Post: Web scrapping - Stopped working
Hi, I wrote a small script as below
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from bs4 import BeautifulSoup
options = Options()
browser = webdriver.Chrome... |
|
peterjv26 |
Web Scraping & Web Development |
2 |
3,091 |
Sep-22-2020, 02:09 PM |
|
|
Thread: Can urlopen be blocked by websites?
Post: RE: Can urlopen be blocked by websites?
Great. It worked. Thank you. |
|
peterjv26 |
Web Scraping & Web Development |
2 |
3,406 |
Jul-26-2020, 06:45 PM |
|
|
Thread: Can urlopen be blocked by websites?
Post: Can urlopen be blocked by websites?
Hi, I am trying to scrape a web site with following code. But it comes with a Timeout Error as below.
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not pr... |
|
peterjv26 |
Web Scraping & Web Development |
2 |
3,406 |
Jul-26-2020, 02:13 PM |
|
|
Thread: Using matplotlib in Spyder v/s REPL
Post: Using matplotlib in Spyder v/s REPL
Hi, I am just starting off with Python and was playing around with matplotlib package.
I wrote a few lines as below to plot a graph
def plotgrh():
import matplotlib.pyplot as plt
fig, ax = plt.s... |
|
peterjv26 |
General Coding Help |
2 |
2,575 |
Jul-04-2020, 07:11 AM |