HI Folks
You know that feeling when something _used_ to work - and now it doesn't....?
I had a little Python program running quite nicely, reading temperature from a thermocouple and plotting in in real-time using matplotlib (application is monitoring the firing schedule on a glass-fusing kiln, temperature vs time)
The hardware was lashed together (literally) - and at some time something went wrong and the RPi stopped playing.
Long story short - new RPi (3b), new installation of o/s, trying to get back to a point where it all works again.
Running Python 3.5.3 and (apparently) matplotlib-2.2.0
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
My program runs (it produces text printout in the shell), but doesn't generate the desired graph (as it used to before the hiatus).
My notes in the program say that it was tested under Python 3.4.2, which I guess is what was installed when I created the system in the first place.
Error message is as follows :-
Warning (from warnings module):
File "/usr/local/lib/python3.5/dist-packages/matplotlib-2.2.0+617.g216441741-py3.5-linux-armv7l.egg/matplotlib/__init__.py", line 960
warnings.warn(message)
UserWarning: could not find rc file; returning defaults
This is probably significant.......<g> - but I don't know enough to fix the problem.
In desperation <g>, I'd looked at dumping matplotlib and using plotly instead - but (unless I'm reading it wrong) plotly no longer supports real-time web-based graphs on their free online service - so that turned out to be a bit of a dead end.
So - any ideas about where to go from here, please?
I'm reasonably clued up on computers generally, but new-ish to the RPi and not at all familiar with the Rasbian environment.
Thanks
Adrian