Code Monkey home page Code Monkey logo

Comments (1)

gudnyf avatar gudnyf commented on June 30, 2024

Here is an example from the terminal when it looks like the name might be too long:

plotting: Theo_flue_gas_comp_stoic_air_no_prop_gas_flow_Nm3_h-1_by_gas_comp , NOx_readjusted_per_11%O2_mgNO2_Nm-3_by_gas_comp , og, NOx_readjusted_per_11%O2_mgNO2_Nm-3_by_gas_comp_stdev
Traceback (most recent call last):
File "C:\Users\gudny.flatabo\OneDrive - VOW ASA\From OneDrive\Biogreen R4W2\Publication\Python_plots\autoPlotGF_wtitles.py", line 179, in
fig.savefig(file_name)
File "C:\PythonEnv\pythonEnv\Lib\site-packages\matplotlib\figure.py", line 3328, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\PythonEnv\pythonEnv\Lib\site-packages\matplotlib\backend_bases.py", line 2362, in print_figure
result = print_method(
^^^^^^^^^^^^^
File "C:\PythonEnv\pythonEnv\Lib\site-packages\matplotlib\backend_bases.py", line 2228, in
print_method = functools.wraps(meth)(lambda *args, **kwargs: meth(
^^^^^
File "C:\PythonEnv\pythonEnv\Lib\site-packages\matplotlib\backends\backend_agg.py", line 509, in print_png
self._print_pil(filename_or_obj, "png", pil_kwargs, metadata)
File "C:\PythonEnv\pythonEnv\Lib\site-packages\matplotlib\backends\backend_agg.py", line 458, in _print_pil
mpl.image.imsave(
File "C:\PythonEnv\pythonEnv\Lib\site-packages\matplotlib\image.py", line 1687, in imsave
image.save(fname, **pil_kwargs)
File "C:\PythonEnv\pythonEnv\Lib\site-packages\PIL\Image.py", line 2428, in save
fp = builtins.open(filename, "w+b")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'Figures_Em_con_adjusted_titles_without_outliers\NOx_readjusted_per_11%O2_mgNO2_Nm-3_by_gas_comp_Theo_flue_gas_comp_stoic_air_no_prop_gas_flow_Nm3_h-1_by_gas_comp.png'

from pyroflueplots.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.