Skip to content

Commit

Permalink
Merge pull request #14 from DerwenAI/update
Browse files Browse the repository at this point in the history
resolved grave dependency #12
  • Loading branch information
ceteri authored Dec 4, 2020
2 parents a235841 + 53fc21c commit e47993a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,6 @@ jupyter-lab

Many thanks to our contributors:
[@jake-aft](https://github.com/jake-aft),
[@dmoore247](https://github.com/dmoore247),
plus general support from [Derwen, Inc.](https://derwen.ai/)
and [The Knowledge Graph Conference](https://www.knowledgegraph.tech/).

8 changes: 8 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# `kglab` changelog

## 0.1.3

2020-12-04

* resolved removal of `grave` dependencies
* add arrows to `pyvis` exampl by making it a directed graph
* kudos @dmoore247

## 0.1.2

2020-11-30
Expand Down
14 changes: 0 additions & 14 deletions kglab/kglab.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# NB: while `plugin` isn't used directly, loading it
# here causes it to become registered within `rdflib`
import dateutil.parser as dup
import grave
import json
import matplotlib.pyplot as plt
import networkx as nx
Expand Down Expand Up @@ -236,19 +235,6 @@ def vis_pyvis (self, notebook=False, style={}):
return g


def vis_grave (self):
"""
https://networkx.org/grave/
"""
g = nx.Graph()

#g.add_node("A")
#g.add_node("B")
#g.add_edge("A", "B", weight=1)

return g


######################################################################
## queries

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="kglab",
version="0.1.2",
version="0.1.3",
author="Paco Nathan",
author_email="[email protected]",
description="Python wrapper for knowledge graph abstraction layer",
Expand Down

0 comments on commit e47993a

Please sign in to comment.