Giter Site home page Giter Site logo

plotapi's People

Contributors

shahinrostami 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

plotapi's Issues

Fontsize of the labels

Hello,
I am trying populate diagram with varying length labels, ranging from 4 to 20. In addition to that group with short long label has fewer instances. Thus labels overlaps and become unreadable.

I have 3 solutions coming to my mind, as possible solutions:

  1. Automatically change font size according size of the groups.
  2. Set sizes for each specific label as a list like names instances.
  3. Divide labels into two separate lines.

Related Example:
image

Correlation matrix

Hi,

Is it possible to make a chord diagram of a sparse correlation matrix? I tried plotting but the results were not as expected. I think, it doesn't have the functionality to use negative values might be due definition of chord diagrams, I might be wrong.

Thank You,
Dushyant Sahoo

Scaling option

Hello I am totally new to world of interactive graphs though I wanted implement this system to my laboratories dateset. I have small issue regarding readability. I want to host my results locally but the resulting HTML doesn't scale or minimize and it becomes divided. Zooming in or out in the browser also doesn't scale down the graph as well. Is it possible to deploy a solution for this problem which users with little to no JS knowledge could also implement.

As of current my results look like this:
Untitled

Result file is:
Network_Chord_m.zip

Possible to Label Relationships

First off - fantastic work, bought the book. Really great stuff.

I'm not seeing a way to label the relationships. Does that feature exist? Will it exist?

For example, if I want to visualize network activity, I imagine the outer ring labels to be the network entities (such as computers) and the relationship would be labeled with the port used.

As an added "nicety" having the label show only when hovering on over the relationship so that the view isn't cluttered.

This would expand the ability to apply Chord to other types of data visualization.

'Chord' object has no attribute 'upload'

As stated here I'm trying to upload my project, but whenever I run:

from plotapi import Chord 

matrix = [
    [0, 5, 6, 4, 7, 4],
    [5, 0, 5, 4, 6, 5],
    [6, 5, 0, 4, 5, 5],
    [4, 4, 4, 0, 5, 5],
    [7, 6, 5, 5, 0, 4],
    [4, 5, 5, 5, 4, 0],
]

names = ["Action", "Adventure", "Comedy", "Drama", "Fantasy", "Thriller"]

project = Chord(matrix, names).upload(name="My Visualization", public=True)

I get
AttributeError: 'Chord' object has no attribute 'upload'

Any suggestions?

offline mode?

Hi,

I have been experimenting with the Chord Free version and so far I am enjoying the visualizations. However, I run into an issue with the "Too many requests made to chord free" message. If I am working on a project that utilizes a chord visualization, and am running it and testing it as I write the code for other parts of the project, this message shows up after a while. Now from your response to another user's issue, it seems this is a feature (not a bug) introduced to limit requests to your AWS service that generates the visualizations, and that this blocking mechanism should last for up to one hour. This makes it quite hard to work with the free version since if I want to make any changes to my code and run it, it uses up one of the "free requests" allotted me before the blocking happens. Is it feasible for you to provide an offline version so that I can generate the visualizations locally? Does the pro license allow this? I imagined that once I installed the package, it would work like any other python visualization library (like matplotlib or seaborn) and would run locally and offline (if needed), and that the pro version came with extra options (something I would consider if I found myself using these types of charts often, since I usually like to customize things if I can).

If there is no way to bypass this blocking feature, would you consider reducing the blocking time down from 1 hour? If it was meant to mitigate requests down from the level of hundreds per second, having a blocking period (or better yet, a waiting period instead of returning to the user the "too many requests" message) of say, one second, should easily smooth out the requests. Is AWS really unable to handle the traffic?

Chord will not work if HTTP proxy is needed (typical when in a company network) or when offline

Since the template is downloaded via a HTTP request (here), if one is behind a proxy, the HTTP request will not work.

For non-Pro Chord: would it be possible to just include the template with the distribution or to allow an offline mode to avoid using the HTTP request? No Internet else means "no plots" (e.g. while on the road)

For Pro Chord: as it is API-based, there is no other solution than adding a proxy (any idea?), I guess. Example:

session = requests.Session()
session.proxies = {
    'http':  proxy_url_for_http,
    'https': proxy_url_for_https
}

Thanks for the good work with the Chord visualization! Happy to support it :)

Rendering in jupyter notebooks does not work

Rendering the chord-charts does not seem to work in jupyter notebooks. Steps to reproduce:

  1. Create environment (I use anaconda)
conda create -n chord python jupyter pip
conda activate chord

pip install chord
jupyter notebook
  1. Execute example code in cell
from chord import Chord

matrix = [
    [0, 5, 6, 4, 7, 4],
    [5, 0, 5, 4, 6, 5],
    [6, 5, 0, 4, 5, 5],
    [4, 4, 4, 0, 5, 5],
    [7, 6, 5, 5, 0, 4],
    [4, 5, 5, 5, 4, 0],
]

names = ["Action", "Adventure", "Comedy", "Drama", "Fantasy", "Thriller"]

Chord(matrix, names).show()

Expected Result

Some fancy chord plot

Actual result

Nothing. The result of Chord(matrix, names).to_html() is also empty.

Result of conda list

# Name                    Version                   Build  Channel
appnope                   0.1.0                    py38_0
attrs                     19.3.0                     py_0
backcall                  0.1.0                    py38_0
bleach                    3.1.0                      py_0
ca-certificates           2020.1.1                      0
certifi                   2020.4.5.1               py38_0
chord                     0.0.7                    pypi_0    pypi
dbus                      1.13.12              h90a0687_0
decorator                 4.4.2                      py_0
defusedxml                0.6.0                      py_0
entrypoints               0.3                      py38_0
expat                     2.2.6                h0a44026_0
gettext                   0.19.8.1             h15daf44_3
glib                      2.63.1               hd977a24_0
icu                       58.2                 h4b95b61_1
importlib_metadata        1.5.0                    py38_0
ipykernel                 5.1.4            py38h39e3cac_0
ipython                   7.13.0           py38h5ca1d4c_0
ipython_genutils          0.2.0                    py38_0
ipywidgets                7.5.1                      py_0
jedi                      0.16.0                   py38_1
jinja2                    2.11.1                     py_0
jpeg                      9b                   he5867d9_2
jsonschema                3.2.0                    py38_0
jupyter                   1.0.0                    py38_7
jupyter_client            6.1.2                      py_0
jupyter_console           6.1.0                      py_0
jupyter_core              4.6.3                    py38_0
libcxx                    4.0.1                hcfea43d_1
libcxxabi                 4.0.1                hcfea43d_1
libedit                   3.1.20181209         hb402a30_0
libffi                    3.2.1                h475c297_4
libiconv                  1.15                 hdd342a3_7
libpng                    1.6.37               ha441bb4_0
libsodium                 1.0.16               h3efe00b_0
mako                      1.1.2                    pypi_0    pypi
markupsafe                1.1.1            py38h1de35cc_0
mistune                   0.8.4           py38h1de35cc_1000
nbconvert                 5.6.1                    py38_0
nbformat                  5.0.4                      py_0
ncurses                   6.2                  h0a44026_0
notebook                  6.0.3                    py38_0
openssl                   1.1.1f               h1de35cc_0
pandoc                    2.2.3.2                       0
pandocfilters             1.4.2                    py38_1
parso                     0.6.2                      py_0
pcre                      8.43                 h0a44026_0
pexpect                   4.8.0                    py38_0
pickleshare               0.7.5                 py38_1000
pip                       20.0.2                   py38_1
prometheus_client         0.7.1                      py_0
prompt-toolkit            3.0.4                      py_0
prompt_toolkit            3.0.4                         0
ptyprocess                0.6.0                    py38_0
pygments                  2.6.1                      py_0
pyqt                      5.9.2            py38h655552a_2
pyrsistent                0.16.0           py38h1de35cc_0
python                    3.8.2                hc70fcce_0
python-dateutil           2.8.1                      py_0
pyzmq                     18.1.1           py38h0a44026_0
qt                        5.9.7                h468cd18_1
qtconsole                 4.7.2                      py_0
qtpy                      1.9.0                      py_0
readline                  8.0                  h1de35cc_0
send2trash                1.5.0                    py38_0
setuptools                46.1.3                   py38_0
sip                       4.19.8           py38h0a44026_0
six                       1.14.0                   py38_0
sqlite                    3.31.1               ha441bb4_0
terminado                 0.8.3                    py38_0
testpath                  0.4.4                      py_0
tk                        8.6.8                ha441bb4_0
tornado                   6.0.4            py38h1de35cc_1
traitlets                 4.3.3                    py38_0
uuid                      1.30                     pypi_0    pypi
wcwidth                   0.1.9                      py_0
webencodings              0.5.1                    py38_1
wheel                     0.34.2                   py38_0
widgetsnbextension        3.5.1                    py38_0
xz                        5.2.4                h1de35cc_4
zeromq                    4.3.1                h0a44026_3
zipp                      2.2.0                      py_0
zlib                      1.2.11               h1de35cc_3

Unable to show in Visual Studio Code

I understand that this project is built primarily with Jupyter in mind - However, I am working with Visual Studio Code and I am unable to get a Chord diagram to show using the show() or to_html() methods. Is there anything I can do to be able to display a chord diagram using this library in VSC?

Thanks!

License: AGPL

Hi,

I integrated you library into my application to create nice chord diagrams.

Now I see that you use the AGPL license.

I don't work for google, but that's interesting AGPL not allowed

Does this mean I need to open source my application?

Jupyter Notebook->export as HTML seems not to work for Chord diagrams

I am able to show Chord diagrams in Jupyter lab (not Notebook unfortunately, but that is described in the documentation).

I need to export the notebook so that it can be used in a report. Unfortunately, Jupyter Lab -> export to HTML does not include the Chord diagram. Is there some visualization quirk that causes this? I assume that it has to do with some specific of Chord because this does not happen with other plots (e.g. plotly). .to_html() does work as a workaround however

Chord does not display in Jupter notebook - OS - Windows

Dear Dr.Shahin

I have used beautiful chart of chord in linux machines jupyter notebook , now i would like to showcase the chord diagrams to my business team on windows os , but the the chart does not displays the output rather it displays " please upgrade your package/crate) please find the snapshot

Chord version - 0.12.0

chord_issue

Connections and labels doesn't show

I'm trying to plot a Chord diagram of some network relations. I've created a matrix and list of names as in the tutorial, however to plot doesn't show labels or connections. It works for another network.

I'm working in JupyterLab

matrix = [[0, 51, 130, 6, 67, 34, 73, 34, 0, 0, 23, 0, 25, 1, 99, 8, 48, 120, 5, 17, 0, 4, 0, 0, 0, 0, 0], 
[35, 0, 33, 2, 27, 5, 15, 30, 0, 0, 20, 2, 2, 13, 35, 12, 22, 8, 4, 0, 0, 2, 1, 0, 0, 0, 1], 
[118, 32, 0, 17, 42, 18, 73, 34, 0, 0, 62, 6, 17, 11, 61, 5, 27, 90, 11, 6, 0, 5, 0, 0, 0, 0, 0], 
[10, 2, 11, 0, 3, 1, 17, 5, 0, 0, 8, 0, 4, 1, 14, 2, 0, 15, 2, 0, 0, 2, 0, 0, 0, 0, 1], 
[57, 41, 38, 2, 0, 19, 7, 6, 0, 0, 34, 0, 5, 0, 32, 17, 22, 11, 1, 0, 0, 3, 0, 0, 0, 0, 0], 
[20, 4, 9, 0, 6, 0, 2, 3, 0, 0, 8, 0, 5, 0, 8, 6, 1, 10, 0, 0, 0, 1, 0, 0, 0, 0, 0], 
[45, 3, 41, 14, 3, 4, 0, 7, 0, 0, 20, 3, 6, 0, 18, 0, 8, 37, 1, 8, 0, 2, 0, 0, 0, 0, 0], 
[25, 18, 14, 2, 3, 6, 9, 0, 0, 0, 16, 2, 2, 15, 21, 4, 6, 13, 6, 1, 0, 1, 0, 0, 0, 0, 1], 
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 
[12, 24, 47, 3, 17, 19, 12, 20, 0, 0, 0, 6, 5, 9, 43, 35, 15, 8, 2, 2, 0, 1, 0, 0, 0, 0, 0], 
[2, 7, 6, 1, 0, 1, 1, 4, 0, 0, 4, 0, 0, 4, 8, 1, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0], 
[23, 7, 15, 3, 0, 19, 5, 5, 0, 0, 2, 1, 0, 0, 12, 4, 2, 19, 1, 1, 0, 4, 0, 0, 0, 0, 0], 
[2, 6, 0, 0, 0, 0, 2, 9, 0, 0, 4, 0, 0, 0, 8, 2, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0], 
[102, 64, 83, 12, 34, 19, 40, 44, 0, 0, 70, 10, 13, 27, 0, 12, 30, 43, 15, 7, 0, 3, 0, 0, 0, 0, 2], 
[19, 11, 14, 1, 8, 10, 2, 7, 0, 0, 23, 0, 5, 0, 19, 0, 9, 13, 0, 1, 0, 2, 0, 0, 0, 0, 0], 
[49, 32, 53, 0, 17, 2, 20, 9, 0, 0, 18, 1, 5, 1, 30, 2, 0, 27, 1, 6, 0, 5, 0, 0, 0, 0, 0], 
[108, 11, 72, 28, 17, 20, 56, 18, 0, 0, 22, 3, 14, 0, 41, 6, 26, 0, 9, 17, 0, 3, 0, 0, 0, 0, 0], 
[12, 6, 12, 2, 1, 0, 7, 7, 0, 0, 3, 4, 1, 3, 14, 0, 0, 7, 0, 1, 0, 2, 0, 0, 0, 0, 0], 
[58, 6, 64, 1, 4, 3, 45, 12, 0, 0, 11, 1, 7, 0, 28, 1, 14, 43, 4, 0, 0, 4, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 
[18, 8, 13, 7, 7, 3, 8, 4, 0, 0, 11, 2, 2, 2, 13, 3, 6, 7, 1, 2, 1, 0, 0, 0, 0, 0, 0], 
[0, 11, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 
[0, 5, 0, 1, 0, 0, 0, 5, 0, 0, 3, 1, 0, 4, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]

names = ['Skatter og afgifter', 'Udlændinge, flygtninge og integration', 'Erhverv', 'Trafik og transport', 'Arbejdsmarked', 'Ejendomme og byggeri', 'Miljø', 'Politi', 'Dagtilbud', 'Kirke', 'Sundhed', 'Kultur', 'Bolig- og bygningsforhold', 'Retspleje og domstole', 'Samfundsstruktur', 'Social og omsorg', 'Uddannelse og undervisning', 'Energi- og vandforsyning', 'Forsvar', 'Natur og klima', 'Fritid og idræt', 'Fysisk planlægning og geodata', 'Udenrigstjeneste', 'Samfundsøkonomi og statistik', 'Myndighedens it', 'Borgerskab', 'Straffuldbyrdelse']

Chord(list_matrix, names).show()

image

No longer functional?

When I try to generate an HTML file from a diagram, the following message appears:

Plotapi.com has launched
Check out Plotapi.com where you'll find more than just Chord Diagrams!

Does this mean this package has been discontinued?

package is no longer working

As of this morning without changing any of the versioning, the package no longer works for me. I see an error in the console. Yesterday, the same exact notebook was working fine. (to_html() .html file results has the same error shown when trying to render the html file)

Did some of the html / js code the package is referencing change last night / this morning? Im surprised it stopped working when I didn't change any versions

I also tried updating to the latest version this morning and I still get the same error

Screen Shot 2020-04-16 at 6 54 45 AM

Details parameter not working in Chord()

Works perfectly when details parameter is not passed, but when details is passed there is no output. I'm using Jupyter Lab. There is no error, it's just a blank screen.

EDIT- I don't know why, but it's resolved. But the details do not appear on hover. Will open new issue.

Maybe wrong string in generated HTML?

On a new installation, the chord plot is not showing (chord 1.0.0). After debugging the HTML, it seems that there was a credits = True entry that should be credits = true. After manually correcting the HTML, the HTML rendered correctly.

Excerpt of the surrounding HTML code below:

   <script>
      var script = document.createElement("script");
      script.type = "text/javascript";
      script.src = "https://d3js.org/d3.v5.min.js";

      script.onload = function () {

        var script2 = document.createElement("script");
        script2.type = "text/javascript";
        script2.src = "https://datacrayon.com/assets/chord/script.js";
        script2.onload = function () {
          margin = {
          left: 50.0,
          top: 50.0,
          right: 50.0,
          bottom: 50.0
        };
        width = Math.min(window.innerWidth, 700.0) - margin.left - margin.right;
        height = Math.min(window.innerWidth, 700.0) - margin.top - margin.bottom;
        innerRadius = Math.min(width, height) * 0.39;
        outerRadius = innerRadius * 1.1;

      tag_id = " <REMOVED> ";
      padding = 0.03;
      Names = [ <REMOVED> ];
      colors = d3.schemeSet1;
      opacityDefault = 0.8;
      matrix = [ <REMOVED> ];
      wrap_labels = false;
      credit = True
      
      ////////////////////////////////////////////////////////////
      /////////// Create scale and layout functions //////////////
      ////////////////////////////////////////////////////////////

      var colors = d3
        .scaleOrdinal()
        .domain(d3.range(Names.length))
        .range(colors);

`Allow_download` does not download -- js error

Hello,

As stated, the allow_download functionality does not work. Functionally, the allow_download parameter works and the Download button appears next to the chart, but it fails to download. A screenshot of the error in the js console of chrome is posted below:
I think the offenders are probably:

Access to script at 'https://datacrayon.com/assets/chord/download/d3-save-svg.js' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

And

Uncaught ReferenceError: to_svg is not defined

As I did successfully set my username for the package, and have not hit the request limit, I suspect my credentials on the library are set successfully.

The plot successfully builds and displays so I am able to take a screenshot, so this error is not the end of the world.

This is on:
Chord v3 (I think)
Windows 10

image

Call to Chord(...).show() displays only ad for PlotApi

Having had to reinstall fresh my computer (Anaconda, plotly, chord), the output of Chord(...).show() is now the picture below.

image

I just checked, and it seems like the option to plot offline has been removed since 0.5.0, which basically makes this library unusable where data should not be sent outside (basically any company).

Documentation of free vs pro features

Thanks for a great package!

I'm trying to modify my chord by changing verb, noun and title using the free version, but nothing happens. I guess this might be because these are PRO features, but can't really find any information on which features from the python module are free and which are pro.

Are the "only" free features those described in this section (https://github.com/shahinrostami/chord#defaults)? If so, some clarification would be nice, and would also serve as an "advertisement" of what the pro features actually contain.

Invisible labels

I'm using Chord 0.0.9 with JupyterLab 2.1.0, but I don't see the labels outside the big circle. Any idea?

Nodes without connections

Scenario

I'm adding a node without connection to the chord diagram.

# python

from chord import Chord

matrix = [
  [0, 1, 0],
  [2, 0, 0],
  [0, 0, 0]
]

names = ["Foo", "Bar", "Without connection"]

Chord(matrix, names).show()

In the above example, the node without connection corresponds to the third names entry and to the last column and row in the matrix containing only zeros.

Expected Behaviour

The chord diagram shows the labels of all nodes and the connections of the connected nodes. It does not show connections of the unconnected node.

Observed Behaviour

When adding nodes without connection, the chord diagram does not show any labels or connections.

Bildschirmfoto 2020-10-12 um 14 23 00

Environment

nteract 0.25.1
Python 3.7.6
chord 0.3.0

Chart not rendering in Jupyter Lab

I'm trying to render a chord plot in Jupyter Lab, but am getting an empty space where the output should be:

jupyter

chrome_console

Currently running chord v0.3.0, and jupyterlab v2.1.1. Browser is Chrome.

Chord graph can't display properly

Try to create chord with the below matrix value, but can't display properly:

matrix2 = [
[156, 46, 1, 1, 3, 0, 24],
[46, 565, 6, 2, 10, 3, 51],
[1, 6, 15, 0, 1, 0,1],
[1, 2, 0, 7, 0, 0, 1],
[3, 10, 1, 0, 16, 2, 3],
[0, 3, 0, 0, 2, 9, 1],
[24, 51, 1, 1, 3, 1, 143],
]

error

API error when creating several

Hi,
I've bought the PRO version of chord and integrated it to a web interface where I need to create several chord diagrams. After I've created some diagrams I get thrown an API error exception and need to restart the creation of the diagrams.

Thanks for a beautiful visualization package.

Arc for diagonal data…

While testing with the non-pro version, it seemed that diagonal data (number of instances from a node to itself) were ignored: the area was shown on the outer circle, but no arc was plotted.

With the Pro version, there is an arc to itself (which essentially looks like a half ellipse). Is there a way to obtain the behaviour of the non-Pro version (diagonal data used for scale of each node, but no arc)?

Too many requests made to chord free

Hi,

I wanted to ask why I'm getting too many requests, when I almost didn't do any chord diagrams ? There was also nowhere listed that there is a limit of doing chord diagrams. Just that there are not so many options for the free package, but still I should be able to make some simple diagrams or not?

Best regards,
Filip

HTML display not working in Jupyter

Just installed and ran the latest version (with a Pro licence) and can't seem to get the HTML display to work in Jupyter.

I tested with the sample code, and png works, but .show() just results in an empty output.

Digging through the browser console, I'm seeing: [Error] ReferenceError: Can't find variable: d3 (anonymous function) (Script Element 10:24)… Line 24 contains:
colors = d3.schemeSet1;

There indeed seems to be a problem in how d3 is imported…

Keeping the partitions (the names that you specify and their colour blocks) the same size even if there is no connections between them

Hi Shahin,

I recently bought Chord Pro and have started to draw some basic chord diagrams.
However, I couldn't find any documentation linked to my below question;

I want to make a chord diagram with 12 sections (in the case of the example this would be the 'names' variable)

Of the 12 sections only a number of them are actually interrelated. I want equidistant portions (the circle cut into 12 sections, 12 different colours) equally spaced apart. I then want to have the connections visualised across the sections that have connections, leaving blank spaces (meaning no connections) between the sections that are not related.

When I specify no connections with a section it simply removes the section. There is one particular section that is well connected and this seems to enlarge the section greatly. Is there anyway of keeping the section sizes the same? (the circular rings around the outside I mean by this).

I hope I have conveyed my question appropriately. For example, I want something like the diagram on page 7 of the PDF that comes when you buy the Pro version. This has equidistant sections, but I want some sections to have no connections and some to have many etc.

Look forward to hearing from you. Cheers, Jolyon.

chord package causes double prints

I don't typically post issues so sorry if the quality of this post is below standards.
To recreate my issue, try:

import chord
print('Hello, world!')

The string 'Hello, world!' will be printed twice in the terminal. Is this expected behaviour? Can this be toggled off?

No module named chord

Hi,

I came across your chord package (which seems very cool by the way), and trying to use it I could not figure out how to make it work. Since I am quite new to the whole Python scene this might be a mistake from my part but after running:

  • pip install chord
  • from chord import Chord

Jupyter Lab does not recognize the module. I add two pictures below in case you can guide me on the possible steps I could give? Is there another way to set up the package?

Thanks a lot!

Screenshot 2020-06-25 at 07 55 58

Screenshot 2020-06-25 at 07 56 07

Credit flag no longer working

It seems there was a regression introduced: passing credit=False to Chord pro no longer produces a version without credit (it has less text than the credit=True version, but still some)…
From looking at the client code: the problem is on the server side…

(sorry to bother you again! Hopefully this is an easy one to fix 😅)

About the import issues

When I was trying to import the Chord, some issues occurred:
Traceback (most recent call last):
File "e:/anaconda/Anaconda/lib/site-packages/chord/init.py", line 21, in
template = urllib.request.urlopen(template_url).read()
File "E:\anaconda\Anaconda\lib\urllib\request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "E:\anaconda\Anaconda\lib\urllib\request.py", line 526, in open
response = self._open(req, data)
File "E:\anaconda\Anaconda\lib\urllib\request.py", line 544, in _open
'_open', req)
File "E:\anaconda\Anaconda\lib\urllib\request.py", line 504, in _call_chain
result = func(*args)
File "E:\anaconda\Anaconda\lib\urllib\request.py", line 1346, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "E:\anaconda\Anaconda\lib\urllib\request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10060]>
Could you please solve the issues?

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.