Comments (8)
Ok, a map(...)
needed to be list(map(...))
for python 3 (in the data loading function of examples). All the examples run in python 3.4 now.
from python-ternary.
I'm not sure why you got that specific error, it doesn't happen for me (now)
Python 3.4.3 (default, Mar 26 2015, 22:03:40)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ternary
>>> ternary.figure()
(<matplotlib.figure.Figure object at 0x7f86d03c2dd8>, TernaryAxesSubplot: -9223363273295329441)
>>>
If you still have this issue please let me know!
from python-ternary.
I try again with the same result. so I after that, try re-install the package and now works correctly! :-)
Thanks!
from python-ternary.
Great, thanks for opening the issue.
from python-ternary.
I have encountered the same issue, even after re-install of the package via pip
.
Could anyone help me? Thank you in advance.
$ python -c 'import ternary; ternary.figure()'
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: module 'ternary' has no attribute 'figure'
Version Info.
- python: Python 3.6.6 :: Anaconda, Inc.
- python-ternary: 1.0.6
from python-ternary.
I fixed the issue manually: I downloaded the repo to my local machine and copy the ternary/
directory to my workplace.
As long as I see, the package via pip
or conda
does not work right now. You should check what is happening on.
from python-ternary.
I have encountered the same issue, even after re-install of the package via
pip
.
Could anyone help me? Thank you in advance.
I couldn't replicate the problem, it works well for me. What I did:
- create new environment:
conda create -n tst python=3.6
- activate the environment:
conda activate tst
- install from pip:
pip install python-ternary
- test:
python -c 'import ternary; ternary.figure()'
my environemtent at the end:
$ python -s -m pip freeze
certifi==2019.9.11
cycler==0.10.0
kiwisolver==1.1.0
matplotlib==3.1.1
numpy==1.17.2
python-dateutil==2.8.0
python-ternary==1.0.6
Options to take into account when you reinstalls packages:
# pip's way
pip install python-ternary --force-reinstall --no-cache-dir
from python-ternary.
Thanks @mmngreco ! Let's us know if you still have issues, @sshojiro .
from python-ternary.
Related Issues (20)
- Scatter creates equilateral plot HOT 1
- Question on ternary heatmap plot HOT 1
- Can not set the limits of each axis? HOT 1
- Heatmap scale greater than 1 vs less than equal to 1 HOT 4
- Cut off top of triangle? HOT 5
- Problem in making the ternary heatmap if the key interval is not 1. HOT 1
- TernaryAxesSubplot.scatter() skips first default color in version 1.0.8 HOT 1
- How to plot the Ternary Choropleth Map? HOT 3
- Heatmap polygon triangles and gridlines don't meet exactly HOT 4
- Blank Heatmap HOT 6
- Plot Blocking Option
- Custom Axis Directions HOT 2
- Cannot set transparent background HOT 1
- Issues with corner label positions under panning/zooming HOT 4
- change font, and output an equilateral triangle HOT 2
- Can't find a way that works to reduce label overlap. HOT 2
- Update installation metadata
- Remove number
- Text annotations HOT 1
- Add pyproject.toml file for python 3.12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-ternary.