Giter Site home page Giter Site logo

pysart's People

Contributors

djvine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pysart's Issues

An error happened when i run your code.

when i run the following code:

pysart = pysart(*generate_phantom())
pysart.sart()

I got an error:

C:\Python27\python.exe D:/Users/Administrator/PycharmProjects/ART/arttest/maintest.py
'latex' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
Traceback (most recent call last):
  File "D:/Users/Administrator/PycharmProjects/ART/arttest/maintest.py", line 16, in <module>
    pysart.sart()
  File "D:\Users\Administrator\PycharmProjects\ART\arttest\pySART.py", line 69, in sart
    self.update_figure(pslice=True)
  File "D:\Users\Administrator\PycharmProjects\ART\arttest\pySART.py", line 147, in update_figure
    pylab.draw()
  File "C:\Python27\lib\site-packages\matplotlib\pyplot.py", line 571, in draw
    get_current_fig_manager().canvas.draw()
  File "C:\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py", line 349, in draw
    FigureCanvasAgg.draw(self)
  File "C:\Python27\lib\site-packages\matplotlib\backends\backend_agg.py", line 469, in draw
    self.figure.draw(self.renderer)
  File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "C:\Python27\lib\site-packages\matplotlib\figure.py", line 1085, in draw
    func(*args)
  File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "C:\Python27\lib\site-packages\matplotlib\axes\_base.py", line 2110, in draw
    a.draw(renderer)
  File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "C:\Python27\lib\site-packages\matplotlib\axis.py", line 1116, in draw
    renderer)
  File "C:\Python27\lib\site-packages\matplotlib\axis.py", line 1065, in _get_tick_bboxes
    extent = tick.label1.get_window_extent(renderer)
  File "C:\Python27\lib\site-packages\matplotlib\text.py", line 798, in get_window_extent
    bbox, info, descent = self._get_layout(self._renderer)
  File "C:\Python27\lib\site-packages\matplotlib\text.py", line 311, in _get_layout
    ismath=False)
  File "C:\Python27\lib\site-packages\matplotlib\backends\backend_agg.py", line 223, in get_text_width_height_descent
    renderer=self)
  File "C:\Python27\lib\site-packages\matplotlib\texmanager.py", line 670, in get_text_width_height_descent
    dvifile = self.make_dvi(tex, fontsize)
  File "C:\Python27\lib\site-packages\matplotlib\texmanager.py", line 417, in make_dvi
    report))
RuntimeError: LaTeX was not able to process the following string:
'lp'
Here is the full report generated by LaTeX: 



Process finished with exit code 1

How to solve the problem?

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.