Giter Site home page Giter Site logo

afplot's People

Contributors

sndrtj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

afplot's Issues

ValueError: Image size of 1200x1647600 pixels is too large. It must be less than 2^16 in each direction.

Hello,

I am working with transcriptomic data. I have tried to plot allele frequency per individual from a combined VCF file and got the following error:

Traceback (most recent call last):
  File "/userhome/vinciane/anaconda3/bin/afplot", line 10, in <module>
    sys.exit(main())
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/afplot/cli.py", line 315, in main
    cli()
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/afplot/cli.py", line 197, in whole_genome_histogram
    contigs, output, kde_only=kde, dpi=dpi)
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/afplot/whole_genome.py", line 128, in histogram_main
    aspect=1, col_wrap=4, sharey=False)
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/seaborn/axisgrid.py", line 382, in __init__
    fig.tight_layout()
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/matplotlib/figure.py", line 2472, in tight_layout
    renderer = get_renderer(self)
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/matplotlib/tight_layout.py", line 224, in get_renderer
    renderer = canvas.get_renderer()
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 399, in get_renderer
    self.renderer = RendererAgg(w, h, self.figure.dpi)
  File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 86, in __init__
    self._renderer = _RendererAgg(int(width), int(height), dpi)
ValueError: Image size of 1200x1647600 pixels is too large. It must be less than 2^16 in each direction.

Could you please help me with this error?

Best regards,
Vinciane

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.