Bitcoin Forum
May 09, 2024, 11:01:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum Plot  (Read 139 times)
nullama (OP)
Hero Member
*****
Offline Offline

Activity: 980
Merit: 957



View Profile
September 28, 2021, 02:37:03 AM
Merited by ABCbits (1), bitmover (1)
 #1

I've noticed that the AppImage of Electrum doesn't come with the required plugins to use the plot functionality (wallet->history->plot).

Is there any offline tool that takes as an input an Electrum export(wallet->history->export) and plots the history of the wallet?

I could use some custom graph using that file, but just wondering if there's something already out there.

███████████████████████████████
███████████████████████████████
█████████
▀▀▀▀▀█▀█▀▀▀▀▀█████████
███
▄▀▀▀   ▄▄▄▄   ▄▄▄▄   ▀▀▀▄███
███████
▀▀▀████▌ ▐████▀▀▀███████
█████
███▀█▀██▌ ▐██▀█▀████████
████
███▀▄▀▄███▌ ▐███▄▀▄▀███████
█████
██▄██▄██   ██▄██▄███████
███████
▄▄▄████   ████▄▄▄███████
██████████
▀▀▀▀   ▀▀▀▀██████████
██████████
▄▄▄▄▄▄▄▄▄▄▄██████████
███████████████████████████████
███████████████████████████████
█▀▀▀











█▄▄▄
#1 RATED CRYPTO
CASINO IN THE WORLD
██ ██ ██ ██ █Trustpilot
▀▀▀█











▄▄▄█
▄█████████████████████████████
██████████████████▀▀█████▀▀████
█████████████████▀█████████▀███
██████████████████████████████
███████████████████████████▄███
█████████████████████████▄▄████
███████████████████████████████
█████████████░░░███████████████
███████████░░░█████████████████
█████████░░████████████████████
█████░░░██████████████████████
███░░█████████████████████████
▀░░░█████████████████████████▀
.
SIGN UP & INSTANTLY
RECEIVE BONUS

[ NO DEPOSIT REQUIRED ]
█▀▀▀











█▄▄▄
▀▀▀█











▄▄▄█
1715295665
Hero Member
*
Offline Offline

Posts: 1715295665

View Profile Personal Message (Offline)

Ignore
1715295665
Reply with quote  #2

1715295665
Report to moderator
1715295665
Hero Member
*
Offline Offline

Posts: 1715295665

View Profile Personal Message (Offline)

Ignore
1715295665
Reply with quote  #2

1715295665
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
bitmover
Legendary
*
Offline Offline

Activity: 2296
Merit: 5935


bitcoindata.science


View Profile WWW
September 28, 2021, 05:14:01 PM
Last edit: September 28, 2021, 05:26:42 PM by bitmover
 #2

I've noticed that the AppImage of Electrum doesn't come with the required plugins to use the plot functionality (wallet->history->plot).

Is there any offline tool that takes as an input an Electrum export(wallet->history->export) and plots the history of the wallet?

I could use some custom graph using that file, but just wondering if there's something already out there.

My electrum says it lacks " matplotlib" which is a python lib to plot charts. It is a huge python library which requires many dependencies as well... I don't know how to install python packages in Electrum. If anyone can help...

Alternatively, you can just plot that chart in excel easily from the .csv file.

Just click Wallet > History > export > CSV

A CSV file is very easy to use, it is basically an excel table.

Just open EXCEL and click DATA>FROM FILE > FROM CSV



Then you can generate all charts you like using excel.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
bitmover
Legendary
*
Offline Offline

Activity: 2296
Merit: 5935


bitcoindata.science


View Profile WWW
September 29, 2021, 01:09:13 PM
 #3

Assuming you install Electrum from source code, you just need to run this command. But if you AppImage, AFAIK it's impossible because AppImage version bundle it's own Python.

Code:
pip install matplotlib

I downloaded Electrum standalone version from their website.

I am not able to run any "pip" commands in Electrum console. I have matplotlib installed in my python environment, but I can't use it inside electrum. I wasn't able to find a solution for this in the web.

Are you talking about the python version of electrum? https://electrum.org/#download (First option here)

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nullama (OP)
Hero Member
*****
Offline Offline

Activity: 980
Merit: 957



View Profile
September 29, 2021, 02:17:03 PM
Merited by bitmover (3), pooya87 (2), ABCbits (2), Pmalek (2)
 #4

I downloaded Electrum standalone version from their website.

I am not able to run any "pip" commands in Electrum console. I have matplotlib installed in my python environment, but I can't use it inside electrum. I wasn't able to find a solution for this in the web.

Are you talking about the python version of electrum? https://electrum.org/#download (First option here)

If you download the standalone executable (exe, AppImage, etc) then you won't be able to use the plot functionality, that's pretty much it. You can't install extra packages like matplotlib into Electrum.

This is because the standalone version doesn't allow you to install anything extra, it comes already prepackaged with whatever the devs decide, and they decided not to include matplotlib et al because it's very large. They also decided to not remove the Plot item from the menu even though it's not available. This was discussed somewhere, and they decided it was not worth the effort to do it.

It's just easier to export the wallet data and use another tool to make a plot. This probably will give you even more information anyway, as the plot functionality in Electrum is very basic.

I just made up some transactions and used the source code to emulate roughly what would be presented in an Electrum plot. It would look a bit like this:



If you're still interested in building Electrum with the plot functionality, you can follow these instruction to compile the AppImage(you would also need to make sure to add matplotlib and configure it correctly):

https://github.com/spesmilo/electrum/tree/master/contrib/build-linux/appimage

███████████████████████████████
███████████████████████████████
█████████
▀▀▀▀▀█▀█▀▀▀▀▀█████████
███
▄▀▀▀   ▄▄▄▄   ▄▄▄▄   ▀▀▀▄███
███████
▀▀▀████▌ ▐████▀▀▀███████
█████
███▀█▀██▌ ▐██▀█▀████████
████
███▀▄▀▄███▌ ▐███▄▀▄▀███████
█████
██▄██▄██   ██▄██▄███████
███████
▄▄▄████   ████▄▄▄███████
██████████
▀▀▀▀   ▀▀▀▀██████████
██████████
▄▄▄▄▄▄▄▄▄▄▄██████████
███████████████████████████████
███████████████████████████████
█▀▀▀











█▄▄▄
#1 RATED CRYPTO
CASINO IN THE WORLD
██ ██ ██ ██ █Trustpilot
▀▀▀█











▄▄▄█
▄█████████████████████████████
██████████████████▀▀█████▀▀████
█████████████████▀█████████▀███
██████████████████████████████
███████████████████████████▄███
█████████████████████████▄▄████
███████████████████████████████
█████████████░░░███████████████
███████████░░░█████████████████
█████████░░████████████████████
█████░░░██████████████████████
███░░█████████████████████████
▀░░░█████████████████████████▀
.
SIGN UP & INSTANTLY
RECEIVE BONUS

[ NO DEPOSIT REQUIRED ]
█▀▀▀











█▄▄▄
▀▀▀█











▄▄▄█
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7491


Crypto Swap Exchange


View Profile
September 30, 2021, 08:56:34 AM
Merited by pooya87 (2), bitmover (1)
 #5

Assuming you install Electrum from source code, you just need to run this command. But if you AppImage, AFAIK it's impossible because AppImage version bundle it's own Python.

Code:
pip install matplotlib
I downloaded Electrum standalone version from their website.

I am not able to run any "pip" commands in Electrum console. I have matplotlib installed in my python environment, but I can't use it inside electrum. I wasn't able to find a solution for this in the web.

You're supposed to run the command on your terminal/command prompt. Besides, it won't work since standalone/portable version is similar with AppImage, where they bundle their own Python.

Are you talking about the python version of electrum? https://electrum.org/#download (First option here)

Yes.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6732


bitcoincleanup.com / bitmixlist.org


View Profile WWW
September 30, 2021, 09:40:51 AM
 #6

I have done some digging in the Electrum protocol documentation some time ago and it said that the method for plotting total balance has been deprecated so that's probably why it's no longer bundled in the AppImage.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!