GithubHelp home page GithubHelp logo

friendlyvri's People

Contributors

crpurcell avatar manodeep avatar paulhancock avatar r-xue avatar totrasmek 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  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  avatar

friendlyvri's Issues

Missing axis ticks

Hello crpurcell!

Really cool software, great for simple interferometric observation simulations.
For some reason, the plotter windows is not showing any ticks, only the label.
As an example, on the uv-coverage plot, it simple says u (k\lambda) and v (k\lambda), but not the values.
I know that values are possible, as displayed on some of the test figures on https://crpurcell.github.io/friendlyVRI/.
Is this an options that needs to be toggled somewhere, or is this an issue on my system?

I'm emulating Ubuntu 20.04 LTS on my windows using Oracle VM.
Aside from that all seems to be working well.

Cheers from Denmark
Nicolas

Python 3.x compatibility

In order to execute the code with Python 3.x those steps are needed:

  • vriTk.py: replace NavigationToolbar2TkAgg with NavigationToolbar2Tk and self.figCanvas.show() with self.figCanvas.draw()

  • Imports/util_tk.py: replace NavigationToolbar2TkAgg with NavigationToolbar2Tk

ValueError: Invalid RGBA argument: 'SystemButtonFace'

I'm trying to run the program on Windows 10 with python 3.7 (and all the required modules except opencv), but running vriTk.py from the command prompt this doesn't cause anything and when I run it in an interactive IDLE Shell the beforementioned error pops up.

I don't know what it is I'm doing wrong or if there's something wrong with the installation. I'd appreciate your help!

Here the full error:

Traceback (most recent call last):
File "C:\Users\Emiliano Zaldívar\friendlyVRI\vriTk.py", line 1544, in
app = App(root, bgColour).pack(side="top", fill="both", expand=True)
File "C:\Users\Emiliano Zaldívar\friendlyVRI\vriTk.py", line 200, in init
self.pltFrm = PlotFrame(self.dispWin, bgColour=self.bgColour)
File "C:\Users\Emiliano Zaldívar\friendlyVRI\vriTk.py", line 1256, in init
self.fig = Figure(figsize=(13.0, 8.0), facecolor=bgColour)
File "C:\Users\Emiliano Zaldívar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\matplotlib\figure.py", line 363, in init
visible=frameon)
File "C:\Users\Emiliano Zaldívar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\matplotlib\patches.py", line 707, in init
Patch.init(self, **kwargs)
File "C:\Users\Emiliano Zaldívar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\matplotlib\patches.py", line 82, in init
self.set_facecolor(facecolor)
File "C:\Users\Emiliano Zaldívar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\matplotlib\patches.py", line 319, in set_facecolor
self._set_facecolor(color)
File "C:\Users\Emiliano Zaldívar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\matplotlib\patches.py", line 307, in _set_facecolor
self._facecolor = colors.to_rgba(color, alpha)
File "C:\Users\Emiliano Zaldívar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\matplotlib\colors.py", line 177, in to_rgba
rgba = _to_rgba_no_colorcycle(c, alpha)
File "C:\Users\Emiliano Zaldívar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\matplotlib\colors.py", line 233, in _to_rgba_no_colorcycle
raise ValueError("Invalid RGBA argument: {!r}".format(orig_c))
ValueError: Invalid RGBA argument: 'SystemButtonFace'

Cannot run

Hi everyone,

If i try to run using python3, i get the following error:

File "vriTk.py", line 115, in
from matplotlib.backends.backend_tkagg import NavigationToolbar2TkAgg
ImportError: cannot import name 'NavigationToolbar2TkAgg' from 'matplotlib.backends.backend_tkagg'
Cheers,
B

ImportError | TkAgg

Hello,

I've encountered a problem while running the code "vriTk.py" on Spyder (Python 3.7) | Windows 10. I'm getting this error:
ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'qt5' is currently running
Can you please point out how to fix it?

Best regards,
Mohamed

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.